|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Xri
This class is used to represent i-names (not i-numbers). - In the GRS, this corresponds to an i-name object. - In OpenXRI, this corresponds to a subsegment object. Every i-name has 0..1 associated parent authorities. Every i-name has 1 associated authority. In the case of synonyms, multiple i-names can share the same authority. Associated with an authority are the elements of an XRD.
| Method Summary | |
|---|---|
void |
addEquivID(org.openxri.xml.EquivID equivID)
|
void |
addRedirect(org.openxri.xml.Redirect redirect)
|
void |
addRef(org.openxri.xml.Ref ref)
|
void |
addService(org.openxri.xml.Service service)
|
void |
addServices(org.openxri.xml.Service[] services)
|
void |
deleteAllServices()
|
void |
deleteCanonicalEquivID()
|
void |
deleteEquivID(org.openxri.xml.EquivID equivID)
|
void |
deleteExtension()
|
void |
deleteRedirect(org.openxri.xml.Redirect redirect)
|
void |
deleteRef(org.openxri.xml.Ref ref)
|
void |
deleteService(org.openxri.xml.Service service)
|
void |
deleteStandardServices()
|
java.util.List<java.lang.String> |
getAliases()
Returns a list of "full names" of i-names that resolve to the authority of this i-name. |
java.lang.String |
getAuthorityAttribute(java.lang.String key)
|
java.lang.String |
getAuthorityId()
Returns the ID of the OpenXRI authority of this i-name. |
org.openxri.xml.CanonicalEquivID |
getCanonicalEquivID()
|
org.openxri.xml.CanonicalID |
getCanonicalID()
|
java.util.Date |
getDate()
Returns the registration date of this i-name. |
java.util.List<org.openxri.xml.EquivID> |
getEquivIDs()
|
java.lang.String |
getExtension()
|
java.lang.String |
getFullName()
Returns a single "full name" of this i-name. |
java.util.List<java.lang.String> |
getFullNames()
Returns all "full names" of this i-name. |
java.lang.String |
getLocalName()
Returns the "local name" of this i-name. |
java.util.List<java.lang.String> |
getParentAliases()
Returns a list of "full names" of i-names that resolve to the parent authority of this i-name. |
java.util.List<org.openxri.xml.Redirect> |
getRedirects()
|
java.util.List<org.openxri.xml.Ref> |
getRefs()
|
java.util.List<org.openxri.xml.Service> |
getServices()
|
java.lang.String |
getXriAttribute(java.lang.String key)
|
boolean |
hasAuthorityAttribute(java.lang.String key)
|
boolean |
hasXriAttribute(java.lang.String key)
|
boolean |
isStale()
Returns true, if the i-name is "stale". |
void |
setAuthorityAttribute(java.lang.String key,
java.lang.String value)
|
void |
setCanonicalEquivID(org.openxri.xml.CanonicalEquivID canonicalID)
|
void |
setCanonicalID(org.openxri.xml.CanonicalID canonicalID)
|
void |
setExtension(java.lang.String extension)
|
void |
setXriAttribute(java.lang.String key,
java.lang.String value)
|
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
java.lang.String getLocalName()
java.lang.String getFullName()
java.util.List<java.lang.String> getFullNames()
java.lang.String getAuthorityId()
java.util.Date getDate()
java.util.List<java.lang.String> getParentAliases()
java.util.List<java.lang.String> getAliases()
boolean isStale()
java.lang.String getXriAttribute(java.lang.String key)
throws XriStoreException
XriStoreException
boolean hasXriAttribute(java.lang.String key)
throws XriStoreException
XriStoreException
void setXriAttribute(java.lang.String key,
java.lang.String value)
throws XriStoreException
XriStoreException
java.lang.String getAuthorityAttribute(java.lang.String key)
throws XriStoreException
XriStoreException
boolean hasAuthorityAttribute(java.lang.String key)
throws XriStoreException
XriStoreException
void setAuthorityAttribute(java.lang.String key,
java.lang.String value)
throws XriStoreException
XriStoreException
org.openxri.xml.CanonicalID getCanonicalID()
throws XriStoreException
XriStoreException
org.openxri.xml.CanonicalEquivID getCanonicalEquivID()
throws XriStoreException
XriStoreException
java.lang.String getExtension()
throws XriStoreException
XriStoreException
java.util.List<org.openxri.xml.EquivID> getEquivIDs()
throws XriStoreException
XriStoreException
java.util.List<org.openxri.xml.Ref> getRefs()
throws XriStoreException
XriStoreException
java.util.List<org.openxri.xml.Redirect> getRedirects()
throws XriStoreException
XriStoreException
java.util.List<org.openxri.xml.Service> getServices()
throws XriStoreException
XriStoreException
void setCanonicalID(org.openxri.xml.CanonicalID canonicalID)
throws XriStoreException
XriStoreException
void setCanonicalEquivID(org.openxri.xml.CanonicalEquivID canonicalID)
throws XriStoreException
XriStoreException
void setExtension(java.lang.String extension)
throws XriStoreException
XriStoreException
void addEquivID(org.openxri.xml.EquivID equivID)
throws XriStoreException
XriStoreException
void addRef(org.openxri.xml.Ref ref)
throws XriStoreException
XriStoreException
void addRedirect(org.openxri.xml.Redirect redirect)
throws XriStoreException
XriStoreException
void addService(org.openxri.xml.Service service)
throws XriStoreException
XriStoreException
void addServices(org.openxri.xml.Service[] services)
throws XriStoreException
XriStoreException
void deleteCanonicalEquivID()
throws XriStoreException
XriStoreException
void deleteExtension()
throws XriStoreException
XriStoreException
void deleteEquivID(org.openxri.xml.EquivID equivID)
throws XriStoreException
XriStoreException
void deleteRef(org.openxri.xml.Ref ref)
throws XriStoreException
XriStoreException
void deleteRedirect(org.openxri.xml.Redirect redirect)
throws XriStoreException
XriStoreException
void deleteService(org.openxri.xml.Service service)
throws XriStoreException
XriStoreException
void deleteAllServices()
throws XriStoreException
XriStoreException
void deleteStandardServices()
throws XriStoreException
XriStoreException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||