com.change_vision.jude.api.inf.model
Interface IGeneralization

com.change_vision.jude.api.inf.model.IGeneralization
All Superinterfaces:
IElement, IEntity, IHyperlinkOwner, INamedElement
All Implemented Interfaces:
IElement, IEntity, IHyperlinkOwner, INamedElement

public IGeneralization
extends INamedElement

Interface for Generalization.


Field Summary
 
Fields inherited from class com.change_vision.jude.api.inf.model.INamedElement
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY
 
Method Summary
abstract  IClass getSubType()
          Get Sub Type.
abstract  IClass getSuperType()
          Get Super Type.
abstract  void setSubType(IClass subType)
          Set Sub Type
abstract  void setSuperType(IClass superType)
          Get Super Type.
 
Methods inherited from class com.change_vision.jude.api.inf.model.INamedElement
getAlias1, getAlias2, getClientDependencies, getClientRealizations, getClientUsages, getConstraints, getDefinition, getDiagrams, getFullName, getFullNamespace, getName, getSupplierDependencies, getSupplierRealizations, getSupplierUsages, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, setAlias1, setAlias2, setDefinition, setName, setVisibility
 
Methods inherited from class com.change_vision.jude.api.inf.model.IElement
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValues, getTypeModifier, hasStereotype, hasStereotype, isReadOnly, removeStereotype, setTypeModifier
 
Methods inherited from class com.change_vision.jude.api.inf.model.IHyperlinkOwner
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks
 

Method Detail

getSuperType

abstract IClass getSuperType()
Get Super Type.

Returns:
Class

getSubType

abstract IClass getSubType()
Get Sub Type.

Returns:
Class

setSuperType

abstract void setSuperType(IClass superType)
Get Super Type.

Parameters:
superType - SuperType
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys: 
      ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. 
      PARAMETER_ERROR_KEY - if a parameter is not set properly. 
      ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. 
      CLASSIFIER_LOOP_KEY - if a generalization loop is found. 
      GENERALIZATION_EXIST_KEY - if a generalization already exist. 
      BAD_TRANSACTION_KEY - Bad Transaction. 
      HAS_EXCEPTION_KEY - if an exception has occurred.
Values: 
      Error messages for exceptions.

setSubType

abstract void setSubType(IClass subType)
Set Sub Type

Parameters:
subType - Sub Type
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys: 
      ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. 
      PARAMETER_ERROR_KEY - if a parameter is not set properly. 
      ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. 
      LEAF_ERROR_KEY - if a child element is added to a leaf element, or an element with a child element is set as a leaf. 
      CLASSIFIER_LOOP_KEY - if a generalization loop is found. 
      GENERALIZATION_EXIST_KEY - if a generalization already exist. 
      BAD_TRANSACTION_KEY - Bad Transaction. 
      HAS_EXCEPTION_KEY - if an exception has occurred.
Values: 
      Error messages for exceptions.