|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.instance.model.InstanceMetadata
public class InstanceMetadata
Utility class for signing IDs to instance metadatas
Field Summary | |
---|---|
static String |
METADATA_ID
Name for the ID value stored in instance meta data |
static String |
METADATA_SOURCEID
Name for the SourceID value stored in instance meta data |
Constructor Summary | |
---|---|
InstanceMetadata()
|
Method Summary | |
---|---|
static String |
getID(Instance instance)
gets the ID of an instance from its metadata |
static String |
getSourceID(Instance instance)
gets the SourceID of an instance from its metadata |
static void |
setID(MutableInstance instance,
Object id)
sets the ID of an instance in its meta data |
static void |
setSourceID(MutableInstance instance,
Object... id)
sets the SourceID of an instance in its meta data |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String METADATA_ID
public static final String METADATA_SOURCEID
Constructor Detail |
---|
public InstanceMetadata()
Method Detail |
---|
public static void setID(MutableInstance instance, Object id)
instance
- the certain instance to changeid
- the id to setpublic static void setSourceID(MutableInstance instance, Object... id)
instance
- the certain instance to changeid
- the id to set, can be multiple IDspublic static String getSourceID(Instance instance)
instance
- the instance to get the SourceID from
null
if the instance doesn't contain an id in its meta data
public static String getID(Instance instance)
instance
- the instance with the certain id
null
if the instance doesn't contain an id in its meta data
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |