java.lang.Object
org.screamingsandals.simpleinventories.inventory.Property
All Implemented Interfaces:
Cloneable

public class Property extends Object implements Cloneable
  • Constructor Details

    • Property

      public Property(@NotNull @NotNull InventorySet inventorySet, String propertyName)
    • Property

      public Property(@NotNull @NotNull InventorySet inventorySet, String propertyName, org.spongepowered.configurate.ConfigurationNode propertyData)
  • Method Details

    • hasName

      public boolean hasName()
    • clone

      public Property clone()
      Overrides:
      clone in class Object
    • getInventorySet

      @NotNull public @NotNull InventorySet getInventorySet()
    • getPropertyName

      public String getPropertyName()
    • getPropertyData

      public org.spongepowered.configurate.ConfigurationNode getPropertyData()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setInventorySet

      @Deprecated public void setInventorySet(@NotNull @NotNull InventorySet inventorySet)
      Deprecated.
    • setPropertyName

      @Deprecated public void setPropertyName(String propertyName)
      Deprecated.
    • setPropertyData

      @Deprecated public void setPropertyData(org.spongepowered.configurate.ConfigurationNode propertyData)
      Deprecated.