Interface IPropertyHolder
- All Superinterfaces:
IPropertyHolderConst
- All Known Subinterfaces:
IStructureWithBlocksToMove,IStructureWithOpenStatus,IStructureWithQuarterCircles,IStructureWithRotationPoint
- All Known Implementing Classes:
PropertyContainer,Structure
-
Method Summary
Modifier and TypeMethodDescription<T> IPropertyValue<T> setPropertyValue(Property<T> property, T value) Sets the value of the given property.Methods inherited from interface nl.pim16aap2.animatedarchitecture.core.structures.properties.IPropertyHolderConst
getPropertyValue, getRequiredPropertyValue, hasProperties, hasProperties, hasProperties, hasProperty
-
Method Details
-
setPropertyValue
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 benullif the property is nullable.- Returns:
- The previous value of the property, or
nullif the property had no value set. - Throws:
IllegalArgumentException- If the property is not valid for the structure type this property container was created for.
-