com.ptc.core.meta.type.command.typemodel.common
Class AbstractTypeModelCommand

java.lang.Object
  extended by com.ptc.core.command.common.bean.AbstractCommand
      extended by com.ptc.core.command.common.bean.AbstractServerCommand
          extended by com.ptc.core.meta.type.command.typemodel.common.AbstractTypeModelCommand
All Implemented Interfaces:
com.ptc.core.command.common.Command, com.ptc.core.command.common.ServerCommand, Externalizable, Serializable
Direct Known Subclasses:
ContainsCommand, GetAncestorsCommand, GetChildrenCommand, GetClosestInstantiableDescendantsCommand, GetDescendantsCommand, GetFilteredChildrenCommand, GetFilteredDescendantsCommand, GetFilteredInstantiableChildrenCommand, GetFilteredInstantiableDescendantsCommand, GetInstantiableChildrenCommand, GetInstantiableDescendantsCommand, GetInterfacesCommand, GetParentCommand, GetTypeIdentifierCommand, IsACommand

public class AbstractTypeModelCommand
extends com.ptc.core.command.common.bean.AbstractServerCommand
implements Externalizable

Abstract command containing common input attribute (type_id) and common output attribute (answer) for TypeModel commands.

Supported API: true

Extendable: false

See Also:
Serialized Form

Method Summary
 TypeIdentifier[] getAnswer()
          Gets the value of the attribute: answer; TypeIdentifier array output by TypeModel.
 TypeInstance[] getResultList()
          Provides an implementation to throw UnsupportedOperationException.
 TypeIdentifier getType_id()
          Gets the value of the attribute: type_id; Input to a typemodel command delegate.
 void setAnswer(TypeIdentifier[] a_Answer)
          Sets the value of the attribute: answer; TypeIdentifier array output by TypeModel.
 void setType_id(TypeIdentifier a_Type_id)
          Sets the value of the attribute: type_id; Input to a typemodel command delegate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAnswer

public TypeIdentifier[] getAnswer()
Gets the value of the attribute: answer; TypeIdentifier array output by TypeModel.

Supported API: true

Returns:
TypeIdentifier[]

setAnswer

public void setAnswer(TypeIdentifier[] a_Answer)
               throws WTPropertyVetoException
Sets the value of the attribute: answer; TypeIdentifier array output by TypeModel.

Supported API: true

Parameters:
a_Answer -
Throws:
WTPropertyVetoException

getType_id

public TypeIdentifier getType_id()
Gets the value of the attribute: type_id; Input to a typemodel command delegate.

Supported API: true

Returns:
TypeIdentifier

setType_id

public void setType_id(TypeIdentifier a_Type_id)
                throws WTPropertyVetoException
Sets the value of the attribute: type_id; Input to a typemodel command delegate.

Supported API: true

Parameters:
a_Type_id -
Throws:
WTPropertyVetoException

getResultList

public TypeInstance[] getResultList()
                             throws UnsupportedOperationException
Provides an implementation to throw UnsupportedOperationException.

Supported API: true

Returns:
TypeInstance[]
Throws:
UnsupportedOperationException