|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.wikitty.entities.BusinessEntityImpl
public class BusinessEntityImpl
| Field Summary | |
|---|---|
protected PropertyChangeSupport |
propertyChangeSupport
Property change support. |
protected Wikitty |
wikitty
|
| Constructor Summary | |
|---|---|
BusinessEntityImpl()
|
|
BusinessEntityImpl(Wikitty wi)
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add PropertyChangeListener. |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Add PropertyChangeListener on propertyName. |
void |
copyFrom(BusinessEntity source)
this copy used introspection, you can override it in generated class to optimize it |
boolean |
equals(Object obj)
|
Collection<String> |
getExtensionFields(String ext)
Return list of all field for this object. |
Collection<String> |
getExtensionNames()
Return list of all extension for this object. |
Object |
getField(String ext,
String fieldName)
Return field value for the specific extension and field. |
FieldType |
getFieldType(String ext,
String fieldName)
|
protected PropertyChangeSupport |
getPropertyChangeSupport()
|
Collection<WikittyExtension> |
getStaticExtensions()
|
Wikitty |
getWikitty()
|
String |
getWikittyId()
Return wikitty id (uuid). |
String |
getWikittyVersion()
Return wikitty version (x.y). |
int |
hashCode()
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove PropertyChangeListener. |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Remove PropertyChangeListener on propertyName |
void |
setField(String ext,
String fieldName,
Object value)
Set field value for the specific extension and field. |
void |
setWikitty(Wikitty wikitty)
|
void |
setWikittyVersion(String version)
Only framework can use this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected transient PropertyChangeSupport propertyChangeSupport
protected Wikitty wikitty
| Constructor Detail |
|---|
public BusinessEntityImpl(Wikitty wi)
public BusinessEntityImpl()
| Method Detail |
|---|
protected PropertyChangeSupport getPropertyChangeSupport()
public String getWikittyId()
BusinessEntity
getWikittyId in interface BusinessEntitypublic String getWikittyVersion()
BusinessEntity
getWikittyVersion in interface BusinessEntitypublic void setWikittyVersion(String version)
BusinessEntity
setWikittyVersion in interface BusinessEntityversion - version to setpublic void setWikitty(Wikitty wikitty)
public Wikitty getWikitty()
public void copyFrom(BusinessEntity source)
copyFrom in interface BusinessEntitysource - public Collection<String> getExtensionNames()
BusinessEntity
getExtensionNames in interface BusinessEntitypublic Collection<String> getExtensionFields(String ext)
BusinessEntity
getExtensionFields in interface BusinessEntityext - extension to get fields
public FieldType getFieldType(String ext,
String fieldName)
public Object getField(String ext,
String fieldName)
BusinessEntity
getField in interface BusinessEntityext - extensionfieldName - field name
public void setField(String ext,
String fieldName,
Object value)
BusinessEntity
setField in interface BusinessEntityext - extensionfieldName - field namevalue - value to setpublic Collection<WikittyExtension> getStaticExtensions()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void addPropertyChangeListener(PropertyChangeListener listener)
BusinessEntityPropertyChangeListener.
addPropertyChangeListener in interface BusinessEntitylistener - listener to addpublic void removePropertyChangeListener(PropertyChangeListener listener)
BusinessEntityPropertyChangeListener.
removePropertyChangeListener in interface BusinessEntitylistener - listener to remove
public void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
BusinessEntityPropertyChangeListener on propertyName.
addPropertyChangeListener in interface BusinessEntitypropertyName - property namelistener - listener to add
public void removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
BusinessEntityPropertyChangeListener on propertyName
removePropertyChangeListener in interface BusinessEntitypropertyName - property namelistener - listener listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||