net.officefloor.frame.spi.managedobject.source.impl
Class ManagedObjectSourcePropertyImpl

java.lang.Object
  extended by net.officefloor.frame.spi.managedobject.source.impl.ManagedObjectSourcePropertyImpl
All Implemented Interfaces:
ManagedObjectSourceProperty

public class ManagedObjectSourcePropertyImpl
extends Object
implements ManagedObjectSourceProperty

Implementation of the ManagedObjectSourceProperty.

Author:
Daniel Sagenschneider

Field Summary
protected  String label
          Label of property.
protected  String name
          Name of property.
 
Constructor Summary
ManagedObjectSourcePropertyImpl(String name, String label)
          Initiate with name and label of property.
 
Method Summary
 String getLabel()
          Obtains the display name of the property.
 String getName()
          Obtains name of property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected final String name
Name of property.


label

protected final String label
Label of property.

Constructor Detail

ManagedObjectSourcePropertyImpl

public ManagedObjectSourcePropertyImpl(String name,
                                       String label)
Initiate with name and label of property.

Parameters:
name - Name of property.
label - Label of property.
Method Detail

getName

public String getName()
Description copied from interface: ManagedObjectSourceProperty
Obtains name of property.

Specified by:
getName in interface ManagedObjectSourceProperty
Returns:
Name of property.

getLabel

public String getLabel()
Description copied from interface: ManagedObjectSourceProperty
Obtains the display name of the property. If this returns null then the return value of ManagedObjectSourceProperty.getName() is used.

Specified by:
getLabel in interface ManagedObjectSourceProperty
Returns:
Display name of property.


Copyright © 2005-2013. All Rights Reserved.