|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sharengo.wikitty.BusinessEntityBean
public class BusinessEntityBean
| Field Summary | |
|---|---|
protected Map<String,WikittyExtension> |
extensions
Map is LinkedHashMap to maintains order like user want key: extension name value: extension definition |
protected Map<String,Object> |
fieldValue
key: field name prefixed by extension name (dot separator) value: value of field |
protected String |
id
|
protected String |
version
|
| Constructor Summary | |
|---|---|
BusinessEntityBean()
|
|
| Method Summary | |
|---|---|
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 specifique extension and field |
FieldType |
getFieldType(String ext,
String fieldName)
Return the field type |
String |
getWikittyId()
|
String |
getWikittyVersion()
|
void |
setField(String ext,
String fieldName,
Object value)
set field value for the specifique extension and field. |
void |
setWikittyVersion(String version)
Only framework can use this method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String id
protected String version
protected Map<String,WikittyExtension> extensions
protected Map<String,Object> fieldValue
| Constructor Detail |
|---|
public BusinessEntityBean()
| Method Detail |
|---|
public String getWikittyId()
getWikittyId in interface BusinessEntitypublic String getWikittyVersion()
getWikittyVersion in interface BusinessEntitypublic void setWikittyVersion(String version)
BusinessEntity
setWikittyVersion in interface BusinessEntitypublic Collection<String> getExtensionNames()
BusinessEntity
getExtensionNames in interface BusinessEntitypublic Collection<String> getExtensionFields(String ext)
BusinessEntity
getExtensionFields in interface BusinessEntity
public Object getField(String ext,
String fieldName)
BusinessEntity
getField in interface BusinessEntity
public void setField(String ext,
String fieldName,
Object value)
BusinessEntity
setField in interface BusinessEntity
public FieldType getFieldType(String ext,
String fieldName)
BusinessEntity
getFieldType in interface BusinessEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||