com.cumulocity.model
Class Fragment
java.lang.Object
org.svenson.AbstractDynamicProperties
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. |
Methods inherited from class org.svenson.AbstractDynamicProperties |
getProperty, propertyNames, setProperty |
Fragment
public Fragment(boolean defineType)
- 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.
toString
public String toString()
- Deprecated.
- Overrides:
toString
in class Object
Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.