com.cumulocity.model
Class Fragment

java.lang.Object
  extended by org.svenson.AbstractDynamicProperties
      extended by com.cumulocity.model.Fragment
All Implemented Interfaces:
org.svenson.DynamicProperties
Direct Known Subclasses:
Address, Children, Control, Sensor

Deprecated.

@Deprecated
public class Fragment
extends org.svenson.AbstractDynamicProperties

Implementation of fragment concept described at Core Inventory Model A fragment has a type (its canonical class name) and a name. In addition it can have any number of properties, depending on the type.


Constructor Summary
Fragment(boolean defineType)
          Deprecated.  
 
Method Summary
 String getName()
          Deprecated.  
 String getType()
          Deprecated.  
 void setName(String name)
          Deprecated.  
 void setType(String type)
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class org.svenson.AbstractDynamicProperties
getProperty, propertyNames, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Fragment

public Fragment(boolean defineType)
Deprecated. 
Method Detail

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. 

toString

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


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