Class PropertyNode
java.lang.Object
net.officefloor.compile.impl.structure.PropertyNode
- All Implemented Interfaces:
OfficeFloorManagedObjectSourcePropertyType,OfficeFloorPropertyType,OfficeFloorTeamSourcePropertyType,ManagedObjectSourceProperty,TeamSourceProperty
public class PropertyNode
extends Object
implements OfficeFloorPropertyType, OfficeFloorTeamSourcePropertyType, OfficeFloorManagedObjectSourcePropertyType
Node identifying an
Property.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyNode(String name, String label, String defaultValue) Instantiate.PropertyNode(Property property) Instantiate from aProperty. -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyNode[]constructPropertyNodes(PropertyList properties) Constructs thePropertyNodeinstances for the inputPropertyList.Obtains the default value for thisProperty.getLabel()Obtains the label to describe theProperty.getName()Obtains the name for theProperty.
-
Constructor Details
-
Method Details
-
constructPropertyNodes
Constructs thePropertyNodeinstances for the inputPropertyList.- Parameters:
properties-PropertyList.- Returns:
PropertyNodeinstances.
-
getName
Description copied from interface:OfficeFloorPropertyTypeObtains the name for theProperty.- Specified by:
getNamein interfaceManagedObjectSourceProperty- Specified by:
getNamein interfaceOfficeFloorPropertyType- Specified by:
getNamein interfaceTeamSourceProperty- Returns:
- Name for the
Property.
-
getLabel
Description copied from interface:OfficeFloorPropertyTypeObtains the label to describe theProperty.- Specified by:
getLabelin interfaceManagedObjectSourceProperty- Specified by:
getLabelin interfaceOfficeFloorPropertyType- Specified by:
getLabelin interfaceTeamSourceProperty- Returns:
- Label to describe the
Property.
-
getDefaultValue
Description copied from interface:OfficeFloorPropertyTypeObtains the default value for thisProperty.- Specified by:
getDefaultValuein interfaceOfficeFloorManagedObjectSourcePropertyType- Specified by:
getDefaultValuein interfaceOfficeFloorPropertyType- Specified by:
getDefaultValuein interfaceOfficeFloorTeamSourcePropertyType- Returns:
- Default value for this
Property.
-