public class SimpleEntityPojo extends PropertyHandler implements uno.informatics.data.SimpleEntity, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME_PROPERTY |
static String |
UNIQUE_IDENTIFIER_PROPERTY |
| Constructor and Description |
|---|
SimpleEntityPojo(uno.informatics.data.SimpleEntity simpleEntity) |
SimpleEntityPojo(String uniqueIdentifier) |
SimpleEntityPojo(String uniqueIdentifier,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
String |
getName() |
String |
getUniqueIdentifier() |
int |
hashCode() |
protected void |
initialise() |
void |
setName(String name)
Sets a (usually more) human readable name of the entity being identified.
|
void |
setUniqueIdentifier(String uniqueIdentifier)
Sets the unique identifier of the entity being identified.
|
String |
toString() |
addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListenerpublic static final String UNIQUE_IDENTIFIER_PROPERTY
public static final String NAME_PROPERTY
public SimpleEntityPojo(String uniqueIdentifier)
public SimpleEntityPojo(uno.informatics.data.SimpleEntity simpleEntity)
public final String getUniqueIdentifier()
getUniqueIdentifier in interface uno.informatics.data.SimpleEntitypublic final void setUniqueIdentifier(String uniqueIdentifier)
uniqueIdentifier - the unique identifier to be setpublic final String getName()
getName in interface uno.informatics.data.SimpleEntitypublic final void setName(String name)
name - the name to be setpublic String toString()
toString in class PropertyHandlerprotected void initialise()
Copyright © 2016. All rights reserved.