|
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.ComponentType
Class representing component and build templates.
| Constructor Summary | |
ComponentType()
Creates a new empty template instance. |
|
ComponentType(java.lang.String vendor,
java.lang.String type)
Creates a new template instance with given vendor id and type. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Determines whether the given ComponentType object is "equal to" this one. |
java.lang.String |
getSubType()
Returns the subtype of the template |
java.lang.String |
getType()
Returns the type of the template |
java.lang.String |
getVendor()
Returns the vendor of the template |
int |
hashCode()
|
void |
serialize(XMLWriter writer)
Serializes the template to the given XMLWriter. |
void |
setSubType(java.lang.String subtype)
Sets the subtype of the template |
void |
setType(java.lang.String type)
Sets the type of the template |
void |
setVendor(java.lang.String vendor)
Sets the vendor of the template |
void |
validate()
Verifies that the template is valid (according to the DTD). |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComponentType()
public ComponentType(java.lang.String vendor,
java.lang.String type)
| Method Detail |
public java.lang.String getVendor()
public void setVendor(java.lang.String vendor)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getSubType()
public void setSubType(java.lang.String subtype)
public void validate()
throws ValidationException
ValidationException - if the object is not valid.
public void serialize(XMLWriter writer)
throws ValidationException
writer - the XMLWriter to use for serialization.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||