com.vp.plugin.model
Interface IClassifierRole
- All Superinterfaces:
- IElement, IModelElement, IModelElementParent
- public interface IClassifierRole
- extends IModelElement, IModelElementParent
MULTIPLICITY_MANY
public static final java.lang.String MULTIPLICITY_MANY
- See Also:
- Constant Field Values
MULTIPLICITY_ONE
public static final java.lang.String MULTIPLICITY_ONE
- See Also:
- Constant Field Values
MULTIPLICITY_ONE_OR_MANY
public static final java.lang.String MULTIPLICITY_ONE_OR_MANY
- See Also:
- Constant Field Values
MULTIPLICITY_UNSPECIFIED
public static final java.lang.String MULTIPLICITY_UNSPECIFIED
- See Also:
- Constant Field Values
MULTIPLICITY_ZERO
public static final java.lang.String MULTIPLICITY_ZERO
- See Also:
- Constant Field Values
MULTIPLICITY_ZERO_OR_MANY
public static final java.lang.String MULTIPLICITY_ZERO_OR_MANY
- See Also:
- Constant Field Values
MULTIPLICITY_ZERO_OR_ONE
public static final java.lang.String MULTIPLICITY_ZERO_OR_ONE
- See Also:
- Constant Field Values
PROP_BASECLASSIFIER
public static final java.lang.String PROP_BASECLASSIFIER
- See Also:
- Constant Field Values
PROP_CHILDADDED
public static final java.lang.String PROP_CHILDADDED
- See Also:
- Constant Field Values
PROP_CHILDREMOVED
public static final java.lang.String PROP_CHILDREMOVED
- See Also:
- Constant Field Values
PROP_DOCUMENTATION
public static final java.lang.String PROP_DOCUMENTATION
- See Also:
- Constant Field Values
PROP_FILES
public static final java.lang.String PROP_FILES
- See Also:
- Constant Field Values
PROP_MODELEDITABLE
public static final java.lang.String PROP_MODELEDITABLE
- See Also:
- Constant Field Values
PROP_MODELTYPE
public static final java.lang.String PROP_MODELTYPE
- See Also:
- Constant Field Values
PROP_MULTIPLICITY
public static final java.lang.String PROP_MULTIPLICITY
- See Also:
- Constant Field Values
PROP_MULTIPLICITYDETAIL
public static final java.lang.String PROP_MULTIPLICITYDETAIL
- See Also:
- Constant Field Values
PROP_NAME
public static final java.lang.String PROP_NAME
- See Also:
- Constant Field Values
PROP_PARENT
public static final java.lang.String PROP_PARENT
- See Also:
- Constant Field Values
PROP_PARENTCHANGED
public static final java.lang.String PROP_PARENTCHANGED
- See Also:
- Constant Field Values
PROP_REORDERCHILD
public static final java.lang.String PROP_REORDERCHILD
- See Also:
- Constant Field Values
PROP_STEREOTYPES
public static final java.lang.String PROP_STEREOTYPES
- See Also:
- Constant Field Values
PROP_TAGGEDVALUES
public static final java.lang.String PROP_TAGGEDVALUES
- See Also:
- Constant Field Values
getModelType
public java.lang.String getModelType()
- Specified by:
getModelType in interface IModelElement
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface IModelElement
getName
public java.lang.String getName()
- Specified by:
getName in interface IModelElement
getParent
public IModelElement getParent()
- Specified by:
getParent in interface IModelElement
getMultiplicityDetail
public IMultiplicity getMultiplicityDetail()
getMultiplicityDetail
public IMultiplicity getMultiplicityDetail(boolean autoCreate)
setMultiplicity
public void setMultiplicity(java.lang.String multiplicity)
getMultiplicity
public java.lang.String getMultiplicity()
setBaseClassifier
public void setBaseClassifier(IClass baseClassifier)
setBaseClassifier
public void setBaseClassifier(java.lang.String baseClassifier)
getBaseClassifier
public java.lang.Object getBaseClassifier()
getBaseClassifierAsElement
public IClass getBaseClassifierAsElement()
getBaseClassifierAsText
public java.lang.String getBaseClassifierAsText()
addStereotypes
public void addStereotypes(java.lang.String stereotypes)
hasStereotypes
public boolean hasStereotypes(java.lang.String value)
removeStereotypes
public void removeStereotypes(java.lang.String stereotypes)
stereotypesCount
public int stereotypesCount()
toStereotypesArray
public java.lang.String[] toStereotypesArray()
stereotypesIterator
public java.util.Iterator stereotypesIterator()
getTaggedValues
public ITaggedValueContainer getTaggedValues()
getTaggedValues
public ITaggedValueContainer getTaggedValues(boolean autoCreate)
setDocumentation
public void setDocumentation(java.lang.String documentation)
getDocumentation
public java.lang.String getDocumentation()
getFiles
public IFileObjectContainer getFiles()
getFiles
public IFileObjectContainer getFiles(boolean autoCreate)
addChild
public void addChild(IModelElement modelElement)
- Specified by:
addChild in interface IModelElementParent
getChildByIndex
public IModelElement getChildByIndex(int index)
- Specified by:
getChildByIndex in interface IModelElementParent
removeChild
public void removeChild(IModelElement modelElement)
- Specified by:
removeChild in interface IModelElementParent
removeChildByIndex
public void removeChildByIndex(int index)
- Specified by:
removeChildByIndex in interface IModelElementParent
childCount
public int childCount()
- Specified by:
childCount in interface IModelElementParent
toChildArray
public IModelElement[] toChildArray()
- Specified by:
toChildArray in interface IModelElementParent
childIterator
public java.util.Iterator childIterator()
- Specified by:
childIterator in interface IModelElementParent
createChild
public IModelElement createChild(java.lang.String modelType)
- Specified by:
createChild in interface IModelElementParent
addClassifierRole
public void addClassifierRole(IClassifierRole classifierRole)
getClassifierRoleByIndex
public IClassifierRole getClassifierRoleByIndex(int index)
removeClassifierRole
public void removeClassifierRole(IClassifierRole classifierRole)
removeClassifierRoleByIndex
public void removeClassifierRoleByIndex(int index)
classifierRoleCount
public int classifierRoleCount()
toClassifierRoleArray
public IClassifierRole[] toClassifierRoleArray()
classifierRoleIterator
public java.util.Iterator classifierRoleIterator()
createClassifierRole
public IClassifierRole createClassifierRole()
fromRelationshipCount
public int fromRelationshipCount()
toFromRelationshipArray
public IRelationship[] toFromRelationshipArray()
fromRelationshipIterator
public java.util.Iterator fromRelationshipIterator()
toRelationshipCount
public int toRelationshipCount()
toToRelationshipArray
public IRelationship[] toToRelationshipArray()
toRelationshipIterator
public java.util.Iterator toRelationshipIterator()
fromRelationshipEndCount
public int fromRelationshipEndCount()
toFromRelationshipEndArray
public IRelationshipEnd[] toFromRelationshipEndArray()
fromRelationshipEndIterator
public java.util.Iterator fromRelationshipEndIterator()
toRelationshipEndCount
public int toRelationshipEndCount()
toToRelationshipEndArray
public IRelationshipEnd[] toToRelationshipEndArray()
toRelationshipEndIterator
public java.util.Iterator toRelationshipEndIterator()
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener in interface IModelElement
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener in interface IModelElement
getId
public java.lang.String getId()
- Specified by:
getId in interface IModelElement
delete
public void delete()
- Specified by:
delete in interface IModelElement