|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tridas.io.util.TridasUtils
public class TridasUtils
Nested Class Summary | |
---|---|
static class |
TridasUtils.TridasValueDataType
|
Constructor Summary | |
---|---|
TridasUtils()
|
Method Summary | |
---|---|
static Boolean |
checkTridasValuesDataType(org.tridas.schema.TridasValues argValues,
TridasUtils.TridasValueDataType dataType)
Checks to see whether a TridasValues block contains only only values of a certain data type. |
static Boolean |
doesEntityMatchIdentifier(org.tridas.interfaces.ITridas entity,
org.tridas.schema.TridasIdentifier id)
Returns true if the TRiDaS entities identifier matches the one specified |
static ArrayList<org.tridas.schema.TridasElement> |
getElementList(org.tridas.schema.TridasObject o)
Recursively work through objects and sub-objects compiling a list of all the TridasElements associated with them. |
static org.tridas.interfaces.ITridas |
getEntityByIdentifier(org.tridas.schema.TridasProject p,
org.tridas.schema.TridasIdentifier id,
Class<? extends org.tridas.interfaces.ITridas> parentEntityClass)
Get the entity from this project that matches the specified identifier. |
static Set<org.tridas.schema.TridasMeasurementSeries> |
getMeasurementSeriesFromTridasObject(org.tridas.schema.TridasObject o)
|
static ArrayList<org.tridas.schema.TridasMeasurementSeries> |
getMeasurementSeriesFromTridasProject(org.tridas.schema.TridasProject p)
|
static ArrayList<org.tridas.schema.TridasObject> |
getObjectList(org.tridas.schema.TridasObject o)
Recursively work through objects and sub-objects compiling a list of all the TridasObjects associated with this TridasObject. |
static ArrayList<org.tridas.schema.TridasObject> |
getObjectList(org.tridas.schema.TridasProject p)
Get a list of TridasObjects from a project recursively |
static org.tridas.schema.TridasRemark |
getRemarkFromString(String str)
Attempt to standardise a ring remark into a NormalTridasRemark. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TridasUtils()
Method Detail |
---|
public static ArrayList<org.tridas.schema.TridasMeasurementSeries> getMeasurementSeriesFromTridasProject(org.tridas.schema.TridasProject p)
public static Set<org.tridas.schema.TridasMeasurementSeries> getMeasurementSeriesFromTridasObject(org.tridas.schema.TridasObject o)
public static ArrayList<org.tridas.schema.TridasElement> getElementList(org.tridas.schema.TridasObject o)
o
-
public static ArrayList<org.tridas.schema.TridasObject> getObjectList(org.tridas.schema.TridasProject p)
p
-
public static ArrayList<org.tridas.schema.TridasObject> getObjectList(org.tridas.schema.TridasObject o)
p
-
public static Boolean checkTridasValuesDataType(org.tridas.schema.TridasValues argValues, TridasUtils.TridasValueDataType dataType)
argValues
-
public static org.tridas.schema.TridasRemark getRemarkFromString(String str)
str
-
public static org.tridas.interfaces.ITridas getEntityByIdentifier(org.tridas.schema.TridasProject p, org.tridas.schema.TridasIdentifier id, Class<? extends org.tridas.interfaces.ITridas> parentEntityClass)
p
- id
- parentEntityClass
-
public static Boolean doesEntityMatchIdentifier(org.tridas.interfaces.ITridas entity, org.tridas.schema.TridasIdentifier id)
entity
- id
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |