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

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
              extended by com.ptc.core.meta.type.command.typemodel.common.IsACommand
All Implemented Interfaces:
com.ptc.core.command.common.Command, com.ptc.core.command.common.ServerCommand, Externalizable, Serializable

public class IsACommand
extends AbstractTypeModelCommand
implements Externalizable

Determines if the type_id type is a (is type compatible with) the ancestor type. Will return true if ancestor is the same as type_id, or is in the ancestral hierarchy of type_id.

Supported API: true

Extendable: false

See Also:
Serialized Form

Method Summary
 TypeIdentifier getAncestor_type_id()
          Gets the value of the attribute: ancestor_type_id.
 boolean isIsA()
          Gets the value of the attribute: isA.
 void setAncestor_type_id(TypeIdentifier a_Ancestor_type_id)
          Sets the value of the attribute: ancestor_type_id.
 void setIsA(boolean a_IsA)
          Sets the value of the attribute: isA.
 
Methods inherited from class com.ptc.core.meta.type.command.typemodel.common.AbstractTypeModelCommand
getAnswer, getResultList, getType_id, setAnswer, setType_id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isIsA

public boolean isIsA()
Gets the value of the attribute: isA.

Supported API: true

Returns:
boolean

setIsA

public void setIsA(boolean a_IsA)
            throws WTPropertyVetoException
Sets the value of the attribute: isA.

Supported API: true

Parameters:
a_IsA -
Throws:
WTPropertyVetoException

getAncestor_type_id

public TypeIdentifier getAncestor_type_id()
Gets the value of the attribute: ancestor_type_id.

Supported API: true

Returns:
TypeIdentifier

setAncestor_type_id

public void setAncestor_type_id(TypeIdentifier a_Ancestor_type_id)
                         throws WTPropertyVetoException
Sets the value of the attribute: ancestor_type_id.

Supported API: true

Parameters:
a_Ancestor_type_id -
Throws:
WTPropertyVetoException