Package systems.dmx.core.impl
Class DMXObjectModelImpl
- java.lang.Object
-
- systems.dmx.core.impl.DMXObjectModelImpl
-
- All Implemented Interfaces:
Cloneable,Identifiable,JSONEnabled,DMXObjectModel
- Direct Known Subclasses:
AssocModelImpl,TopicModelImpl
public class DMXObjectModelImpl extends Object implements DMXObjectModel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DMXObjectModelclone()PlayerModelcreatePlayerModel(String roleTypeUri)booleanequals(Object o)systems.dmx.core.impl.ChildTopicsModelImplgetChildTopics()longgetId()SimpleValuegetSimpleValue()StringgetTypeUri()StringgetUri()inthashCode()voidset(DMXObjectModel object)voidsetChildTopics(ChildTopicsModel childTopics)voidsetId(long id)voidsetSimpleValue(boolean value)voidsetSimpleValue(int value)voidsetSimpleValue(long value)voidsetSimpleValue(String value)voidsetSimpleValue(SimpleValue value)voidsetTypeUri(String typeUri)voidsetUri(String uri)org.codehaus.jettison.json.JSONObjecttoJSON()StringtoString()-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface systems.dmx.core.JSONEnabled
dump
-
-
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getIdin interfaceDMXObjectModel- Specified by:
getIdin interfaceIdentifiable
-
setId
public void setId(long id)
- Specified by:
setIdin interfaceDMXObjectModel
-
getUri
public String getUri()
- Specified by:
getUriin interfaceDMXObjectModel
-
setUri
public void setUri(String uri)
- Specified by:
setUriin interfaceDMXObjectModel
-
getTypeUri
public String getTypeUri()
- Specified by:
getTypeUriin interfaceDMXObjectModel
-
setTypeUri
public void setTypeUri(String typeUri)
- Specified by:
setTypeUriin interfaceDMXObjectModel
-
getSimpleValue
public SimpleValue getSimpleValue()
- Specified by:
getSimpleValuein interfaceDMXObjectModel
-
setSimpleValue
public void setSimpleValue(String value)
- Specified by:
setSimpleValuein interfaceDMXObjectModel
-
setSimpleValue
public void setSimpleValue(int value)
- Specified by:
setSimpleValuein interfaceDMXObjectModel
-
setSimpleValue
public void setSimpleValue(long value)
- Specified by:
setSimpleValuein interfaceDMXObjectModel
-
setSimpleValue
public void setSimpleValue(boolean value)
- Specified by:
setSimpleValuein interfaceDMXObjectModel
-
setSimpleValue
public void setSimpleValue(SimpleValue value)
- Specified by:
setSimpleValuein interfaceDMXObjectModel
-
getChildTopics
public systems.dmx.core.impl.ChildTopicsModelImpl getChildTopics()
- Specified by:
getChildTopicsin interfaceDMXObjectModel
-
setChildTopics
public void setChildTopics(ChildTopicsModel childTopics)
- Specified by:
setChildTopicsin interfaceDMXObjectModel
-
set
public void set(DMXObjectModel object)
- Specified by:
setin interfaceDMXObjectModel
-
createPlayerModel
public PlayerModel createPlayerModel(String roleTypeUri)
- Specified by:
createPlayerModelin interfaceDMXObjectModel
-
toJSON
public org.codehaus.jettison.json.JSONObject toJSON()
- Specified by:
toJSONin interfaceJSONEnabled
-
clone
public DMXObjectModel clone()
- Specified by:
clonein interfaceDMXObjectModel- Overrides:
clonein classObject
-
-