Interface IAliasValue
public interface IAliasValue
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionOnly returns a thingid if validint
getType()
getUri()
if this has a uri it will return it if this has a string it will return a string formgetValue()
If this has a string it will return it.boolean
isSystem()
If this is a system alias, don't ever change it or modify it.void
void
setTargetID
(IThingID targetID) void
void
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
CURRENT_VERSION
static final int CURRENT_VERSION- See Also:
-
SIMPLE_TYPE
static final int SIMPLE_TYPEThe value is stored as a java.lang.String- See Also:
-
URI_TYPE
static final int URI_TYPEThe value is stored as anIURI
- See Also:
-
THING_TYPE
static final int THING_TYPEThe value is stored as anIThingID
- See Also:
-
-
Method Details
-
isSystem
boolean isSystem()If this is a system alias, don't ever change it or modify it.- Returns:
-
getType
int getType()- Returns:
- See Also:
-
getValue
String getValue()If this has a string it will return it. If this has a uri it will return it in string form.- Returns:
- a string representation or NULL
-
setValue
-
getUri
IURI getUri()if this has a uri it will return it if this has a string it will return a string form- Returns:
- uri respresentation or NULL
-
setUri
-
getTargetID
IThingID getTargetID()Only returns a thingid if valid- Returns:
- thingid or NULL
-
setTargetID
-
getParams
String getParams() -
setParams
-