Class ManagedObjectSourcePropertyImpl
- java.lang.Object
-
- net.officefloor.frame.api.managedobject.source.impl.ManagedObjectSourcePropertyImpl
-
- All Implemented Interfaces:
ManagedObjectSourceProperty
public class ManagedObjectSourcePropertyImpl extends java.lang.Object implements ManagedObjectSourceProperty
Implementation of theManagedObjectSourceProperty.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectSourcePropertyImpl(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.StringgetLabel()Obtains the display name of the property.java.lang.StringgetName()Obtains name of property.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:ManagedObjectSourcePropertyObtains name of property.- Specified by:
getNamein interfaceManagedObjectSourceProperty- Returns:
- Name of property.
-
getLabel
public java.lang.String getLabel()
Description copied from interface:ManagedObjectSourcePropertyObtains the display name of the property. If this returnsnullthen the return value ofManagedObjectSourceProperty.getName()is used.- Specified by:
getLabelin interfaceManagedObjectSourceProperty- Returns:
- Display name of property.
-
-