|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.rt.credential.DomainSpecification | +--edu.stanford.rt.credential.ApplicationDomain
ApplicationDomain
element.Field Summary | |
private boolean |
isSystemDomain
A flag indicates whether this domain is the built-in system one. |
private java.lang.String |
uri
Attribute uri (required). |
Fields inherited from class edu.stanford.rt.credential.DomainSpecification |
|
Constructor Summary | |
ApplicationDomain(java.lang.String uri,
boolean isSystemDomain,
RTContext context)
Constructor for ApplicationDomain. |
Method Summary | |
java.lang.String |
getUri()
Method getUri. |
RoleDeclaration |
lookupRoleDeclaration(java.lang.String roleName)
Method lookupRoleDeclaration. |
DataType |
lookupType(java.lang.String typeName)
Method lookupType. |
void |
setHashID(HashID hashID)
Sets the hashID. |
java.lang.String |
toString(java.lang.String indent)
|
Methods inherited from class edu.stanford.rt.credential.DomainSpecification |
addRole, addType, addType, getContext, getHashID, getImportedDomains, getPrincipalType, getRoleDeclarations, getTypeDeclarations, importDomain, isComplete, lookupImportedDomain, lookupRoleDeclaration, lookupType, setComplete, setPrincipalType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String uri
private boolean isSystemDomain
Constructor Detail |
public ApplicationDomain(java.lang.String uri, boolean isSystemDomain, RTContext context) throws DomainSpecException
uri
- isSystemDomain
- context
-
DomainSpecException
Method Detail |
public java.lang.String getUri()
public DataType lookupType(java.lang.String typeName) throws DomainSpecException
lookupType
in class DomainSpecification
typeName
-
DomainSpecException
- if cannot find a DataType declaration by the given name.public RoleDeclaration lookupRoleDeclaration(java.lang.String roleName) throws DomainSpecException
lookupRoleDeclaration
in class DomainSpecification
roleName
-
DomainSpecException
- if cannot find one.public java.lang.String toString(java.lang.String indent)
public void setHashID(HashID hashID) throws DomainSpecException
DomainSpecification
setHashID
in class DomainSpecification
hashID
- The hashID to set
DomainSpecException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |