Interface IGeneralization
- All Superinterfaces:
IElement,IEntity,IHyperlinkOwner,INamedElement
Interface for Generalization.
-
Field Summary
Fields inherited from interface com.change_vision.jude.api.inf.model.INamedElement
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY -
Method Summary
Modifier and TypeMethodDescriptionGet Sub Type.Get Super Type.voidsetSubType(IClass subType) Set Sub TypevoidsetSuperType(IClass superType) Get Super Type.Methods inherited from interface com.change_vision.jude.api.inf.model.IElement
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValue, getTaggedValues, getTypeModifier, hasStereotype, isReadOnly, removeStereotype, setTypeModifierMethods inherited from interface com.change_vision.jude.api.inf.model.IHyperlinkOwner
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinksMethods inherited from interface 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
-
Method Details
-
getSuperType
IClass getSuperType()Get Super Type.- Returns:
- Class
-
getSubType
IClass getSubType()Get Sub Type.- Returns:
- Class
-
setSuperType
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
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.
-