|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.sap.tc.complib.xml.Initializable
|
+--com.sap.tc.complib.impl.ImportedEntityImpl
|
+--com.sap.tc.complib.EntityReference
Reference to an entity. Used to define lists of to be imported entities in public parts.
| Fields inherited from class com.sap.tc.complib.xml.Initializable |
_apiVersion, _attributes, _extensions, _initialized, _schemaVersion, buffer, clearBuffer, INIT, isEmpty, recoverMode, recoverTagName, RECOVERY_MODE, ROOT, state |
| Constructor Summary | |
EntityReference()
Creates a new empty instance |
|
EntityReference(java.lang.String name,
java.lang.String publicPart,
DCReference component)
Creates a new instance with given name and reference to a certain public part of a given development component. |
|
| Method Summary | |
protected boolean |
endTag(java.lang.String name)
|
boolean |
equals(java.lang.Object obj)
Determines whether the given object is "equal to" this one. |
DCReference |
getComponent()
Returns the component of the referenced entity |
java.lang.String |
getName()
Returns the name of the referenced entity |
java.lang.String |
getPackageName()
Returns the name of the package the referenced entity belongs to |
java.lang.String |
getPublicPart()
Returns the public part of the referenced entity |
java.lang.String |
getSubType()
Returns the subtype of the references entity |
java.lang.String |
getType()
Returns the type of the referenced entity |
int |
hashCode()
|
void |
serialize(XMLWriter writer)
Serializes the reference to the given XMLWriter. |
void |
serialize(XMLWriter writer,
java.lang.String schemaVersion)
|
void |
setComponent(DCReference component)
Sets the component of the referenced entity |
void |
setName(java.lang.String name)
Sets the name of the referenced entity |
void |
setPackageName(java.lang.String packageName)
Sets the name of the package the referenced entity belongs to |
void |
setPublicPart(java.lang.String publicPart)
Sets the public part of the referenced entity |
void |
setSubType(java.lang.String subtype)
Sets the subtype of the referenced entity |
void |
setType(java.lang.String type)
Sets the type of the referenced entity |
protected void |
startTag(java.lang.String name,
org.xml.sax.Attributes attributes)
|
protected void |
tagValue(char[] chars,
int start,
int length)
tag value event wrapper. since SAX splits consecutive lines of character input in multiple events, this method collect the parts. use one of the getter methods below (getString, getBoolean...) to access the content of a tag. |
void |
validate()
Verifies that the component reference is valid (according to the DTD). |
| Methods inherited from class com.sap.tc.complib.impl.ImportedEntityImpl |
getUniqueKey |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EntityReference()
public EntityReference(java.lang.String name,
java.lang.String publicPart,
DCReference component)
| Method Detail |
protected boolean endTag(java.lang.String name)
throws org.xml.sax.SAXException
endTag in class com.sap.tc.complib.impl.ImportedEntityImplpublic boolean equals(java.lang.Object obj)
com.sap.tc.complib.impl.ImportedEntityImplequals in class com.sap.tc.complib.impl.ImportedEntityImplpublic DCReference getComponent()
com.sap.tc.complib.impl.ImportedEntityImplgetComponent in class com.sap.tc.complib.impl.ImportedEntityImplpublic java.lang.String getName()
com.sap.tc.complib.impl.ImportedEntityImplgetName in class com.sap.tc.complib.impl.ImportedEntityImplpublic java.lang.String getPackageName()
com.sap.tc.complib.impl.ImportedEntityImplgetPackageName in class com.sap.tc.complib.impl.ImportedEntityImplpublic java.lang.String getPublicPart()
com.sap.tc.complib.impl.ImportedEntityImplgetPublicPart in class com.sap.tc.complib.impl.ImportedEntityImplpublic java.lang.String getSubType()
com.sap.tc.complib.impl.ImportedEntityImplgetSubType in class com.sap.tc.complib.impl.ImportedEntityImplpublic java.lang.String getType()
com.sap.tc.complib.impl.ImportedEntityImplgetType in class com.sap.tc.complib.impl.ImportedEntityImplpublic int hashCode()
hashCode in class com.sap.tc.complib.impl.ImportedEntityImpl
public void serialize(XMLWriter writer,
java.lang.String schemaVersion)
throws ValidationException
serialize in class com.sap.tc.complib.impl.ImportedEntityImpl
public void serialize(XMLWriter writer)
throws ValidationException
ImportedEntityserialize in class com.sap.tc.complib.impl.ImportedEntityImplcom.sap.tc.complib.ImportedEntitywriter - the XMLWriter to use for serialization.public void setComponent(DCReference component)
com.sap.tc.complib.impl.ImportedEntityImplsetComponent in class com.sap.tc.complib.impl.ImportedEntityImplpublic void setName(java.lang.String name)
com.sap.tc.complib.impl.ImportedEntityImplsetName in class com.sap.tc.complib.impl.ImportedEntityImplpublic void setPackageName(java.lang.String packageName)
com.sap.tc.complib.impl.ImportedEntityImplsetPackageName in class com.sap.tc.complib.impl.ImportedEntityImplpublic void setPublicPart(java.lang.String publicPart)
com.sap.tc.complib.impl.ImportedEntityImplsetPublicPart in class com.sap.tc.complib.impl.ImportedEntityImplpublic void setSubType(java.lang.String subtype)
com.sap.tc.complib.impl.ImportedEntityImplsetSubType in class com.sap.tc.complib.impl.ImportedEntityImplpublic void setType(java.lang.String type)
com.sap.tc.complib.impl.ImportedEntityImplsetType in class com.sap.tc.complib.impl.ImportedEntityImpl
protected void startTag(java.lang.String name,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
startTag in class com.sap.tc.complib.impl.ImportedEntityImpl
protected void tagValue(char[] chars,
int start,
int length)
InitializabletagValue in class com.sap.tc.complib.impl.ImportedEntityImpl
public void validate()
throws ValidationException
com.sap.tc.complib.impl.ImportedEntityImplvalidate in class com.sap.tc.complib.impl.ImportedEntityImplcom.sap.tc.complib.impl.ImportedEntityImplValidationException - if the object is not valid.
|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||