Class WoofTemplateExtensionSourcePropertyImpl
- java.lang.Object
-
- net.officefloor.woof.template.impl.WoofTemplateExtensionSourcePropertyImpl
-
- All Implemented Interfaces:
WoofTemplateExtensionSourceProperty
public class WoofTemplateExtensionSourcePropertyImpl extends java.lang.Object implements WoofTemplateExtensionSourceProperty
Implementation of theWoofTemplateExtensionSourceProperty
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description WoofTemplateExtensionSourcePropertyImpl(java.lang.String name, java.lang.String label)
Initiate with name and label of property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLabel()
Obtains the display name of the property.java.lang.String
getName()
Obtains name of property.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:WoofTemplateExtensionSourceProperty
Obtains name of property.- Specified by:
getName
in interfaceWoofTemplateExtensionSourceProperty
- Returns:
- Name of property.
-
getLabel
public java.lang.String getLabel()
Description copied from interface:WoofTemplateExtensionSourceProperty
Obtains the display name of the property. If this returnsnull
then the return value ofWoofTemplateExtensionSourceProperty.getName()
is used.- Specified by:
getLabel
in interfaceWoofTemplateExtensionSourceProperty
- Returns:
- Display name of property.
-
-