Class PropertyNode
- java.lang.Object
-
- net.officefloor.compile.impl.structure.PropertyNode
-
- All Implemented Interfaces:
OfficeFloorManagedObjectSourcePropertyType,OfficeFloorPropertyType,OfficeFloorTeamSourcePropertyType,ManagedObjectSourceProperty,TeamSourceProperty
public class PropertyNode extends java.lang.Object implements OfficeFloorPropertyType, OfficeFloorTeamSourcePropertyType, OfficeFloorManagedObjectSourcePropertyType
Node identifying anProperty.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description PropertyNode(java.lang.String name, java.lang.String label, java.lang.String defaultValue)Instantiate.PropertyNode(Property property)Instantiate from aProperty.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyNode[]constructPropertyNodes(PropertyList properties)Constructs thePropertyNodeinstances for the inputPropertyList.java.lang.StringgetDefaultValue()Obtains the default value for thisProperty.java.lang.StringgetLabel()Obtains the label to describe theProperty.java.lang.StringgetName()Obtains the name for theProperty.
-
-
-
Method Detail
-
constructPropertyNodes
public static PropertyNode[] constructPropertyNodes(PropertyList properties)
Constructs thePropertyNodeinstances for the inputPropertyList.- Parameters:
properties-PropertyList.- Returns:
PropertyNodeinstances.
-
getName
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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.
-
-