com.cumulocity.model
Class ExternalManagedObject

java.lang.Object
  extended by org.svenson.AbstractDynamicProperties
      extended by com.cumulocity.model.JSONBase
          extended by com.cumulocity.model.Document<T>
              extended by com.cumulocity.model.FragmentDocument
                  extended by com.cumulocity.model.ExternalManagedObject
All Implemented Interfaces:
org.svenson.DynamicProperties
Direct Known Subclasses:
ExternalDevice

Deprecated.

@Deprecated
public class ExternalManagedObject
extends FragmentDocument

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.

Author:
Sameer Babu KK

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

ExternalManagedObject

public ExternalManagedObject()
Deprecated. 
Method Detail

getExternalId

@JSONProperty(value="externalId",
              ignoreIfNull=true)
public ExternalId getExternalId()
Deprecated. 

setExternalId

public void setExternalId(ExternalId externalId)
Deprecated. 

getType

@JSONProperty(value="type",
              ignoreIfNull=true)
public String getType()
Deprecated. 

setType

public void setType(String type)
Deprecated. 

getName

@JSONProperty(value="name",
              ignoreIfNull=true)
public String getName()
Deprecated. 

setName

public void setName(String name)
Deprecated. 

fromJSON

public static ExternalManagedObject fromJSON(String json)
Deprecated. 
Unmarshall the JSON representation to ManagedObject type.

Parameters:
json - the json string
Returns:
the ExternalManagedObject representation.

toString

public String toString()
Deprecated. 
Overrides:
toString in class Document


Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.