|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.svenson.AbstractDynamicProperties
com.cumulocity.model.JSONBase
com.cumulocity.model.Document<T>
com.cumulocity.model.FragmentDocument
com.cumulocity.model.ExternalManagedObject
@Deprecated public class ExternalManagedObject
External managed objects are created by agents by using external identifiers. TODO: The Javadoc of this class is too short. Please add at least a meaningful class comment.
Constructor Summary | |
---|---|
ExternalManagedObject()
Deprecated. |
Method Summary | |
---|---|
static ExternalManagedObject |
fromJSON(String json)
Deprecated. Unmarshall the JSON representation to ManagedObject type. |
ExternalId |
getExternalId()
Deprecated. |
String |
getName()
Deprecated. |
String |
getType()
Deprecated. |
void |
setExternalId(ExternalId externalId)
Deprecated. |
void |
setName(String name)
Deprecated. |
void |
setType(String type)
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class com.cumulocity.model.FragmentDocument |
---|
addFragment, addFragments, getFragment, getFragments, removeFragment, setFragments, updateFragment |
Methods inherited from class com.cumulocity.model.Document |
---|
equals, get, get, getFragment, getId, getInternalId, getRevision, hashCode, set, set, set, setId, setInternalId, setRevision |
Methods inherited from class com.cumulocity.model.JSONBase |
---|
fromJSON, getJSONGenerator, getJSONParser, toJSON |
Methods inherited from class org.svenson.AbstractDynamicProperties |
---|
getProperty, propertyNames, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExternalManagedObject()
Method Detail |
---|
@JSONProperty(value="externalId", ignoreIfNull=true) public ExternalId getExternalId()
public void setExternalId(ExternalId externalId)
@JSONProperty(value="type", ignoreIfNull=true) public String getType()
public void setType(String type)
@JSONProperty(value="name", ignoreIfNull=true) public String getName()
public void setName(String name)
public static ExternalManagedObject fromJSON(String json)
json
- the json string
public String toString()
toString
in class Document
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |