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 DMXObjectModel
clone()
PlayerModel
createPlayerModel(String roleTypeUri)
boolean
equals(Object o)
systems.dmx.core.impl.ChildTopicsModelImpl
getChildTopics()
long
getId()
SimpleValue
getSimpleValue()
String
getTypeUri()
String
getUri()
int
hashCode()
void
set(DMXObjectModel object)
void
setChildTopics(ChildTopicsModel childTopics)
void
setId(long id)
void
setSimpleValue(boolean value)
void
setSimpleValue(int value)
void
setSimpleValue(long value)
void
setSimpleValue(String value)
void
setSimpleValue(SimpleValue value)
void
setTypeUri(String typeUri)
void
setUri(String uri)
org.codehaus.jettison.json.JSONObject
toJSON()
String
toString()
-
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:
getId
in interfaceDMXObjectModel
- Specified by:
getId
in interfaceIdentifiable
-
setId
public void setId(long id)
- Specified by:
setId
in interfaceDMXObjectModel
-
getUri
public String getUri()
- Specified by:
getUri
in interfaceDMXObjectModel
-
setUri
public void setUri(String uri)
- Specified by:
setUri
in interfaceDMXObjectModel
-
getTypeUri
public String getTypeUri()
- Specified by:
getTypeUri
in interfaceDMXObjectModel
-
setTypeUri
public void setTypeUri(String typeUri)
- Specified by:
setTypeUri
in interfaceDMXObjectModel
-
getSimpleValue
public SimpleValue getSimpleValue()
- Specified by:
getSimpleValue
in interfaceDMXObjectModel
-
setSimpleValue
public void setSimpleValue(String value)
- Specified by:
setSimpleValue
in interfaceDMXObjectModel
-
setSimpleValue
public void setSimpleValue(int value)
- Specified by:
setSimpleValue
in interfaceDMXObjectModel
-
setSimpleValue
public void setSimpleValue(long value)
- Specified by:
setSimpleValue
in interfaceDMXObjectModel
-
setSimpleValue
public void setSimpleValue(boolean value)
- Specified by:
setSimpleValue
in interfaceDMXObjectModel
-
setSimpleValue
public void setSimpleValue(SimpleValue value)
- Specified by:
setSimpleValue
in interfaceDMXObjectModel
-
getChildTopics
public systems.dmx.core.impl.ChildTopicsModelImpl getChildTopics()
- Specified by:
getChildTopics
in interfaceDMXObjectModel
-
setChildTopics
public void setChildTopics(ChildTopicsModel childTopics)
- Specified by:
setChildTopics
in interfaceDMXObjectModel
-
set
public void set(DMXObjectModel object)
- Specified by:
set
in interfaceDMXObjectModel
-
createPlayerModel
public PlayerModel createPlayerModel(String roleTypeUri)
- Specified by:
createPlayerModel
in interfaceDMXObjectModel
-
toJSON
public org.codehaus.jettison.json.JSONObject toJSON()
- Specified by:
toJSON
in interfaceJSONEnabled
-
clone
public DMXObjectModel clone()
- Specified by:
clone
in interfaceDMXObjectModel
- Overrides:
clone
in classObject
-
-