|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oodt.profile.ProfileAttributes
public class ProfileAttributes
Profile attributes. Objects of this class are attributes of profiles.
| Field Summary | |
|---|---|
protected List |
children
List of zero or more children profile IDs ( Strings). |
protected String |
id
Unique identifier, required. |
protected String |
parent
Parent profile ID, optional. |
protected String |
regAuthority
Registration authority, optional. |
protected List |
revisionNotes
Revision notes, zero or more Strings. |
protected String |
securityType
Type of security to apply, optional. |
protected String |
statusID
Status ID, required. |
protected String |
type
Type, required. |
protected String |
version
Version, optional. |
| Constructor Summary | |
|---|---|
ProfileAttributes()
Create blank profile attributes. |
|
ProfileAttributes(Node root)
Create profile attributes from an XML document. |
|
ProfileAttributes(String id,
String version,
String type,
String statusID,
String securityType,
String parent,
List children,
String regAuthority,
List revisionNotes)
Create profile attributes from constituent attributes. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
int |
compareTo(Object rhs)
|
static Document |
createProfAttributesDocument()
Create a <profAttributes> document using the profiles DTD. |
boolean |
equals(Object rhs)
|
List |
getChildren()
Get the children of this profile. |
String |
getID()
Get the ID. |
String |
getParent()
Get the parent of this profile. |
String |
getRegAuthority()
Get the registration authority of this profile. |
List |
getRevisionNotes()
Get the revision notes of this profile. |
String |
getSecurityType()
Get the security type. |
String |
getStatusID()
Get the status ID. |
String |
getType()
Get the type. |
String |
getVersion()
Get the version. |
int |
hashCode()
|
void |
setID(String id)
Set the ID. |
void |
setParent(String theParent)
Set the Parent |
void |
setRegAuthority(String regAuthority)
Set the registration authority of this profile. |
void |
setSecurityType(String securityType)
Set the security type. |
void |
setStatusID(String statusID)
Set the status ID. |
void |
setType(String type)
Set the type. |
void |
setVersion(String version)
Set the version. |
String |
toString()
|
Node |
toXML(Document doc)
Serialize this attributes as an XML node. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String id
protected String version
protected String type
protected String statusID
protected String securityType
protected String parent
protected List children
Strings).
protected String regAuthority
protected List revisionNotes
Strings.
| Constructor Detail |
|---|
public ProfileAttributes()
public ProfileAttributes(Node root)
root - The <profAttributes> element.
public ProfileAttributes(String id,
String version,
String type,
String statusID,
String securityType,
String parent,
List children,
String regAuthority,
List revisionNotes)
id - The profile ID.version - Version.type - Type of the profile.statusID - Status ID.securityType - Security type.parent - Parent profile IDs.children - Zero or more String child profile IDs.regAuthority - Registration authority.revisionNotes - Zero or more String revision notes.| Method Detail |
|---|
public int hashCode()
hashCode in class Objectpublic boolean equals(Object rhs)
equals in class Objectpublic int compareTo(Object rhs)
compareTo in interface Comparablepublic String toString()
toString in class Objectpublic Object clone()
clone in class Objectpublic String getID()
public String getVersion()
public String getType()
public String getStatusID()
public String getSecurityType()
public String getParent()
public List getChildren()
String IDs of its children.public String getRegAuthority()
public List getRevisionNotes()
String revision notes.public void setParent(String theParent)
theParent - The Parent String.public void setID(String id)
id - The ID.public void setVersion(String version)
version - The version.public void setType(String type)
type - The type of the profile.public void setStatusID(String statusID)
statusID - The status ID.public void setSecurityType(String securityType)
securityType - The security type.public void setRegAuthority(String regAuthority)
regAuthority - Its registration authority.
public Node toXML(Document doc)
throws DOMException
toXML in interface Documentabledoc - The document that will own this node.
DOMException - If an error occurs creating the XML nodes.public static Document createProfAttributesDocument()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||