public class ThingTypeDefinition extends Object implements Serializable, Cloneable
The definition of the thing type, including thing type name and description.
| Constructor and Description |
|---|
ThingTypeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
ThingTypeDefinition |
clone() |
boolean |
equals(Object obj) |
ThingTypeMetadata |
getThingTypeMetadata() |
String |
getThingTypeName()
The name of the thing type.
|
ThingTypeProperties |
getThingTypeProperties()
The ThingTypeProperties for the thing type.
|
int |
hashCode() |
void |
setThingTypeMetadata(ThingTypeMetadata thingTypeMetadata) |
void |
setThingTypeName(String thingTypeName)
The name of the thing type.
|
void |
setThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ThingTypeDefinition |
withThingTypeMetadata(ThingTypeMetadata thingTypeMetadata) |
ThingTypeDefinition |
withThingTypeName(String thingTypeName)
The name of the thing type.
|
ThingTypeDefinition |
withThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
|
public void setThingTypeName(String thingTypeName)
The name of the thing type.
thingTypeName - The name of the thing type.public String getThingTypeName()
The name of the thing type.
public ThingTypeDefinition withThingTypeName(String thingTypeName)
The name of the thing type.
thingTypeName - The name of the thing type.public void setThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
thingTypeProperties - The ThingTypeProperties for the thing type.public ThingTypeProperties getThingTypeProperties()
The ThingTypeProperties for the thing type.
public ThingTypeDefinition withThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
thingTypeProperties - The ThingTypeProperties for the thing type.public void setThingTypeMetadata(ThingTypeMetadata thingTypeMetadata)
thingTypeMetadata - public ThingTypeMetadata getThingTypeMetadata()
public ThingTypeDefinition withThingTypeMetadata(ThingTypeMetadata thingTypeMetadata)
thingTypeMetadata - public String toString()
toString in class ObjectObject.toString()public ThingTypeDefinition clone()
Copyright © 2016. All rights reserved.