|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectibrokerkit.iname4java.store.impl.AbstractXri
ibrokerkit.iname4java.store.impl.openxri.OpenxriXri
public class OpenxriXri
An i-name that exists in OpenXRI. In ibrokerKit, both top-level and community i-names are stored in OpenXRI.
| Field Summary | |
|---|---|
protected java.util.List<java.lang.String> |
aliases
|
protected org.openxri.store.Authority |
authority
|
protected java.util.Map<java.lang.String,java.lang.String> |
authorityAttributes
|
protected java.lang.String |
authorityId
|
protected org.openxri.xml.CanonicalEquivID |
canonicalEquivID
|
protected org.openxri.xml.CanonicalID |
canonicalID
|
protected java.util.Date |
date
|
protected java.util.List<org.openxri.xml.EquivID> |
equivIDs
|
protected java.lang.String |
extension
|
protected org.openxri.store.Store |
openxriStore
|
protected java.util.List<java.lang.String> |
parentAliases
|
protected org.openxri.store.Authority |
parentAuthority
|
protected java.util.List<org.openxri.xml.Redirect> |
redirects
|
protected java.util.List<org.openxri.xml.Ref> |
refs
|
protected java.util.List<org.openxri.xml.Service> |
services
|
protected org.openxri.store.SubSegment |
subSegment
|
protected java.util.Map<java.lang.String,java.lang.String> |
subSegmentAttributes
|
protected org.openxri.xml.XRD |
xrd
|
| Constructor Summary | |
|---|---|
protected |
OpenxriXri(OpenxriXri xri)
|
protected |
OpenxriXri(org.openxri.store.Store openxriStore,
org.openxri.store.SubSegment subSegment)
|
protected |
OpenxriXri(org.openxri.store.Store openxriStore,
org.openxri.store.SubSegment subSegment,
org.openxri.store.Authority authority)
|
| 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. |
org.openxri.store.Authority |
getAuthority()
|
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. |
org.openxri.store.Authority |
getParentAuthority()
|
java.util.List<org.openxri.xml.Redirect> |
getRedirects()
|
java.util.List<org.openxri.xml.Ref> |
getRefs()
|
java.util.List<org.openxri.xml.Service> |
getServices()
|
org.openxri.store.SubSegment |
getSubSegment()
|
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 canonicalEquivID)
|
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 class ibrokerkit.iname4java.store.impl.AbstractXri |
|---|
compareTo, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.openxri.store.Store openxriStore
protected org.openxri.store.SubSegment subSegment
protected org.openxri.store.Authority authority
protected org.openxri.store.Authority parentAuthority
protected org.openxri.xml.XRD xrd
protected java.lang.String authorityId
protected java.util.Map<java.lang.String,java.lang.String> subSegmentAttributes
protected java.util.Map<java.lang.String,java.lang.String> authorityAttributes
protected java.util.Date date
protected java.util.List<java.lang.String> parentAliases
protected java.util.List<java.lang.String> aliases
protected org.openxri.xml.CanonicalID canonicalID
protected org.openxri.xml.CanonicalEquivID canonicalEquivID
protected java.lang.String extension
protected java.util.List<org.openxri.xml.EquivID> equivIDs
protected java.util.List<org.openxri.xml.Ref> refs
protected java.util.List<org.openxri.xml.Redirect> redirects
protected java.util.List<org.openxri.xml.Service> services
| Constructor Detail |
|---|
protected OpenxriXri(org.openxri.store.Store openxriStore,
org.openxri.store.SubSegment subSegment)
protected OpenxriXri(org.openxri.store.Store openxriStore,
org.openxri.store.SubSegment subSegment,
org.openxri.store.Authority authority)
protected OpenxriXri(OpenxriXri xri)
| Method Detail |
|---|
public org.openxri.store.SubSegment getSubSegment()
public org.openxri.store.Authority getAuthority()
throws org.openxri.exceptions.StoreException
org.openxri.exceptions.StoreException
public org.openxri.store.Authority getParentAuthority()
throws org.openxri.exceptions.StoreException
org.openxri.exceptions.StoreExceptionpublic java.lang.String getLocalName()
Xri
public java.lang.String getFullName()
Xri
public java.util.List<java.lang.String> getFullNames()
Xri
public java.lang.String getAuthorityId()
Xri
public java.util.Date getDate()
Xri
public java.lang.String getXriAttribute(java.lang.String key)
throws XriStoreException
XriStoreException
public boolean hasXriAttribute(java.lang.String key)
throws XriStoreException
XriStoreException
public void setXriAttribute(java.lang.String key,
java.lang.String value)
throws XriStoreException
XriStoreException
public java.lang.String getAuthorityAttribute(java.lang.String key)
throws XriStoreException
XriStoreException
public boolean hasAuthorityAttribute(java.lang.String key)
throws XriStoreException
XriStoreException
public void setAuthorityAttribute(java.lang.String key,
java.lang.String value)
throws XriStoreException
XriStoreExceptionpublic java.util.List<java.lang.String> getParentAliases()
Xri
public java.util.List<java.lang.String> getAliases()
Xri
public boolean isStale()
Xri
public org.openxri.xml.CanonicalID getCanonicalID()
throws XriStoreException
XriStoreException
public org.openxri.xml.CanonicalEquivID getCanonicalEquivID()
throws XriStoreException
XriStoreException
public java.lang.String getExtension()
throws XriStoreException
XriStoreException
public java.util.List<org.openxri.xml.EquivID> getEquivIDs()
throws XriStoreException
XriStoreException
public java.util.List<org.openxri.xml.Ref> getRefs()
throws XriStoreException
XriStoreException
public java.util.List<org.openxri.xml.Redirect> getRedirects()
throws XriStoreException
XriStoreException
public java.util.List<org.openxri.xml.Service> getServices()
throws XriStoreException
XriStoreException
public void setCanonicalID(org.openxri.xml.CanonicalID canonicalID)
throws XriStoreException
XriStoreException
public void setCanonicalEquivID(org.openxri.xml.CanonicalEquivID canonicalEquivID)
throws XriStoreException
XriStoreException
public void setExtension(java.lang.String extension)
throws XriStoreException
XriStoreException
public void addEquivID(org.openxri.xml.EquivID equivID)
throws XriStoreException
XriStoreException
public void addRef(org.openxri.xml.Ref ref)
throws XriStoreException
XriStoreException
public void addRedirect(org.openxri.xml.Redirect redirect)
throws XriStoreException
XriStoreException
public void addService(org.openxri.xml.Service service)
throws XriStoreException
XriStoreException
public void addServices(org.openxri.xml.Service[] services)
throws XriStoreException
XriStoreException
public void deleteCanonicalEquivID()
throws XriStoreException
XriStoreException
public void deleteExtension()
throws XriStoreException
XriStoreException
public void deleteEquivID(org.openxri.xml.EquivID equivID)
throws XriStoreException
XriStoreException
public void deleteRef(org.openxri.xml.Ref ref)
throws XriStoreException
XriStoreException
public void deleteRedirect(org.openxri.xml.Redirect redirect)
throws XriStoreException
XriStoreException
public void deleteService(org.openxri.xml.Service service)
throws XriStoreException
XriStoreException
public void deleteAllServices()
throws XriStoreException
XriStoreException
public void deleteStandardServices()
throws XriStoreException
XriStoreException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||