@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class EntityVersion extends java.lang.Object implements java.lang.Comparable<java.lang.Object>, IDiffableObject
Constructor and Description |
---|
EntityVersion(java.lang.String name,
int major,
int minor,
int patch) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Implementing compareTo for ExtensionInfo objects so that we can compare and sort. |
java.util.List<EntityVersion> |
getDependents() |
java.lang.String |
getDependsOn() |
int |
getEntityMajor() |
int |
getEntityMinor() |
java.lang.String |
getEntityName() |
int |
getEntityPatch() |
java.lang.String |
getVersion() |
java.lang.String |
toString() |
ValueCollection |
toValueCollection() |
@ThingworxExtensionApiMethod(since={7,0,3}) public EntityVersion(java.lang.String name, int major, int minor, int patch)
@ThingworxExtensionApiMethod(since={7,0,3}) public java.lang.String getEntityName()
@ThingworxExtensionApiMethod(since={7,0,3}) public int getEntityMajor()
@ThingworxExtensionApiMethod(since={7,0,3}) public int getEntityMinor()
@ThingworxExtensionApiMethod(since={7,0,3}) public int getEntityPatch()
@ThingworxExtensionApiMethod(since={7,0,3}) public java.lang.String getVersion()
@ThingworxExtensionApiMethod(since={7,0,3}) public java.util.List<EntityVersion> getDependents()
@ThingworxExtensionApiMethod(since={7,0,3}) public ValueCollection toValueCollection()
@ThingworxExtensionApiMethod(since={7,0,3}) public java.lang.String toString()
toString
in class java.lang.Object
@ThingworxExtensionApiMethod(since={7,0,3}) public java.lang.String getDependsOn()
@ThingworxExtensionApiMethod(since={6,6}) public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable<java.lang.Object>
o
- (that) ExtensionInfo object to compare against