|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlai.common.AbstractDescriptor | +--com.bea.wlai.common.SchemaDescriptor
Represents the metadata for an Schema Document
Constructor Summary | |
SchemaDescriptor()
For use by Serialize code. |
|
SchemaDescriptor(INamespace parentNamespace,
java.lang.String name,
SOMSchema documentSchema)
Construct a new SchemaDescriptor in the given namespace, with the given name, and contents. |
|
SchemaDescriptor(INamespace parentNamespace,
java.lang.String name,
SOMSchema documentSchema,
java.lang.String description)
Construct a new SchemaDescriptor in the given namespace, with the given name, contents, and description. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compare this object to the given object and determine if they are equal. |
void |
fromXML(IDocument doc)
Extract the data for this descriptor from the given IDocument instance, replacing all contents of the current descriptor with the new data. |
java.lang.String |
getDescription()
Return a description of the object that this descriptor represents and the service's intended use. |
INamespace |
getParentNamespace()
Get this descriptor's parent namespace. |
QualifiedName |
getQualifiedName()
Return a QualifiedName representing this descriptor's name and parent namespace. |
SOMSchema |
getSchema()
Get the SOMSchema that this descriptor contains |
void |
setDescription(java.lang.String description)
Set the description of the object that this descriptor represents and its intended use. |
void |
setName(java.lang.String name)
Set this descriptor's name. |
void |
setParentNamespace(INamespace parent)
Set this descriptor's parent namespace. |
void |
setSchema(SOMSchema documentSchema)
Set the SOMSchema that this descriptor contains |
void |
toXML(IDocument doc)
Output an XML representation of this descriptor into an IDocument instance. |
Methods inherited from class com.bea.wlai.common.AbstractDescriptor |
fromXML,
fromXML,
getName,
isReadOnly,
makeReadOnly,
toXML,
toXML |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SchemaDescriptor()
public SchemaDescriptor(INamespace parentNamespace, java.lang.String name, SOMSchema documentSchema) throws java.lang.IllegalArgumentException
public SchemaDescriptor(INamespace parentNamespace, java.lang.String name, SOMSchema documentSchema, java.lang.String description) throws java.lang.IllegalArgumentException
Method Detail |
public boolean equals(java.lang.Object obj)
public QualifiedName getQualifiedName()
public void setName(java.lang.String name) throws java.lang.IllegalArgumentException
name
- The new name for this descriptor. Null is not allowed.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- A description of the object that this
descriptor represents and its intended use, or null if no
description is known.public INamespace getParentNamespace()
public void setParentNamespace(INamespace parent)
parent
- This descriptor's parent namespace. Setting this
parameter to null should be avoided, and indicates that the
descriptor has no parent.public SOMSchema getSchema()
public void setSchema(SOMSchema documentSchema)
documentSchema
- - The document schema for this descriptor, or null
if none is known.public void toXML(IDocument doc) throws DocumentException
doc
- An IDocument instance to receive the data for this descriptor.public void fromXML(IDocument doc) throws DocumentException
doc
- An IDocument instance from which the data for this descriptor
will be extracted.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |