|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines required functionality of Kage Logical resources.
The resource ID is unique and immutable once created. Currently the ID is the resources Logical URI. Note that this is distinct from one or more Physical URLs that are used to locate and access the resource.
Each resource exists with in a single XML Name Space.
Method Summary | |
java.lang.String |
getComment()
Getter method for this resource's comment string. |
java.lang.String |
getID()
Getter method for the Resources ID. |
java.lang.String |
getLabel()
Getter method for this resource's label string. |
java.lang.String |
getLocalName()
Getter method for this resource's local (fragment) Name. |
java.lang.String |
getNamespace()
Getter method for this resource's Namespace. |
LogicalResource |
getType()
Getter method for this resource's type. |
java.lang.String |
getURI()
Getter method for this resource's URI. |
boolean |
isLiteralType()
Type checker for any literal type. |
boolean |
isType(LogicalResource theType)
Type checker, extensions can add support for multi-types. |
void |
setComment(java.lang.String theComment)
Setter method for this resource's comment string. |
void |
setLabel(java.lang.String theLabel)
Setter method for this resource's label string. |
void |
setType(LogicalResource theType)
Setter method for this resource's type. |
Method Detail |
public java.lang.String getID()
public void setLabel(java.lang.String theLabel)
theLabel
- The label of this resource.public java.lang.String getLabel()
public void setComment(java.lang.String theComment)
theComment
- The comment for this resource.public java.lang.String getComment()
public java.lang.String getURI()
public java.lang.String getNamespace()
public java.lang.String getLocalName()
public void setType(LogicalResource theType)
theType
- The type of this resource.public LogicalResource getType()
public boolean isType(LogicalResource theType)
public boolean isLiteralType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |