All Superinterfaces:
IPropertyHolderConst
All Known Subinterfaces:
IStructureWithBlocksToMove, IStructureWithOpenStatus, IStructureWithQuarterCircles, IStructureWithRotationPoint
All Known Implementing Classes:
PropertyContainer, Structure

public interface IPropertyHolder extends IPropertyHolderConst
  • Method Details

    • setPropertyValue

      <T> IPropertyValue<T> setPropertyValue(Property<T> property, @Nullable T value)
      Sets the value of the given property.
      Type Parameters:
      T - The type of the property.
      Parameters:
      property - The property to set the value for.
      value - The value to set. May be null if the property is nullable.
      Returns:
      The previous value of the property, or null if the property had no value set.
      Throws:
      IllegalArgumentException - If the property is not valid for the structure type this property container was created for.