Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib
Interface ImportedEntity

All Superinterfaces:
Identifiable
All Known Implementing Classes:
com.sap.tc.complib.impl.ImportedEntityImpl

public interface ImportedEntity
extends Identifiable


Method Summary
 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
 void serialize(XMLWriter writer)
          Serializes the reference to the given XMLWriter.
 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
 void validate()
          Verifies that the component reference is valid (according to the DTD).
 
Methods inherited from interface com.sap.tc.complib.Identifiable
getUniqueKey
 

Method Detail

getComponent

public DCReference getComponent()
Returns the component of the referenced entity

setComponent

public void setComponent(DCReference component)
Sets the component of the referenced entity

getPublicPart

public java.lang.String getPublicPart()
Returns the public part of the referenced entity

setPublicPart

public void setPublicPart(java.lang.String publicPart)
Sets the public part of the referenced entity

getName

public java.lang.String getName()
Returns the name of the referenced entity

setName

public void setName(java.lang.String name)
Sets the name of the referenced entity

getPackageName

public java.lang.String getPackageName()
Returns the name of the package the referenced entity belongs to
Since:
SCHEMA_1_0_2

setPackageName

public void setPackageName(java.lang.String packageName)
Sets the name of the package the referenced entity belongs to
Since:
SCHEMA_1_0_2

getType

public java.lang.String getType()
Returns the type of the referenced entity

setType

public void setType(java.lang.String type)
Sets the type of the referenced entity

getSubType

public java.lang.String getSubType()
Returns the subtype of the references entity
Since:
SCHEMA_1_0_2

setSubType

public void setSubType(java.lang.String subtype)
Sets the subtype of the referenced entity
Since:
SCHEMA_1_0_2

validate

public void validate()
              throws ValidationException
Verifies that the component reference is valid (according to the DTD).
Throws:
ValidationException - if the object is not valid.

serialize

public void serialize(XMLWriter writer)
               throws ValidationException
Serializes the reference to the given XMLWriter.
Parameters:
writer - the XMLWriter to use for serialization.

Copyright @ 2002 SAP. All Rights Reserved.