com.vp.plugin.model
Interface IClass
- All Superinterfaces:
- IElement, IModelElement, IModelElementParent
- public interface IClass
- extends IModelElement, IModelElementParent
PROP_ABSTRACT
public static final java.lang.String PROP_ABSTRACT
- See Also:
- Constant Field Values
PROP_ACTIVE
public static final java.lang.String PROP_ACTIVE
- 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_DOTNETCODEDETAIL
public static final java.lang.String PROP_DOTNETCODEDETAIL
- See Also:
- Constant Field Values
PROP_EJBCODEDETAIL
public static final java.lang.String PROP_EJBCODEDETAIL
- See Also:
- Constant Field Values
PROP_FILES
public static final java.lang.String PROP_FILES
- See Also:
- Constant Field Values
PROP_JAVADETAIL
public static final java.lang.String PROP_JAVADETAIL
- See Also:
- Constant Field Values
PROP_LEAF
public static final java.lang.String PROP_LEAF
- 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_NAME
public static final java.lang.String PROP_NAME
- See Also:
- Constant Field Values
PROP_ORMDETAIL
public static final java.lang.String PROP_ORMDETAIL
- See Also:
- Constant Field Values
PROP_ORMQUALIFIERS
public static final java.lang.String PROP_ORMQUALIFIERS
- 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_ROOT
public static final java.lang.String PROP_ROOT
- 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
PROP_TEMPLATEPARAMETERS
public static final java.lang.String PROP_TEMPLATEPARAMETERS
- See Also:
- Constant Field Values
PROP_VISIBILITY
public static final java.lang.String PROP_VISIBILITY
- See Also:
- Constant Field Values
VISIBILITY_INTERNAL
public static final java.lang.String VISIBILITY_INTERNAL
- See Also:
- Constant Field Values
VISIBILITY_PACKAGE
public static final java.lang.String VISIBILITY_PACKAGE
- See Also:
- Constant Field Values
VISIBILITY_PRIVATE
public static final java.lang.String VISIBILITY_PRIVATE
- See Also:
- Constant Field Values
VISIBILITY_PROTECTED
public static final java.lang.String VISIBILITY_PROTECTED
- See Also:
- Constant Field Values
VISIBILITY_PROTECTED_INTERNAL
public static final java.lang.String VISIBILITY_PROTECTED_INTERNAL
- See Also:
- Constant Field Values
VISIBILITY_PUBLIC
public static final java.lang.String VISIBILITY_PUBLIC
- See Also:
- Constant Field Values
VISIBILITY_UNSPECIFIED
public static final java.lang.String VISIBILITY_UNSPECIFIED
- 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
addOrmQualifier
public void addOrmQualifier(IORMQualifier ormQualifier)
getOrmQualifierByIndex
public IORMQualifier getOrmQualifierByIndex(int index)
removeOrmQualifier
public void removeOrmQualifier(IORMQualifier ormQualifier)
removeOrmQualifierByIndex
public void removeOrmQualifierByIndex(int index)
ormQualifierCount
public int ormQualifierCount()
toOrmQualifierArray
public IORMQualifier[] toOrmQualifierArray()
ormQualifierIterator
public java.util.Iterator ormQualifierIterator()
setActive
public void setActive(boolean active)
isActive
public boolean isActive()
getJavaDetail
public IJavaClassCodeDetail getJavaDetail()
getJavaDetail
public IJavaClassCodeDetail getJavaDetail(boolean autoCreate)
getOrmDetail
public IORMClassDetail getOrmDetail()
getOrmDetail
public IORMClassDetail getOrmDetail(boolean autoCreate)
getDotnetCodeDetail
public IDotNetClassCodeDetail getDotnetCodeDetail()
getDotnetCodeDetail
public IDotNetClassCodeDetail getDotnetCodeDetail(boolean autoCreate)
getEjbCodeDetail
public IEJBClassCodeDetail getEjbCodeDetail()
getEjbCodeDetail
public IEJBClassCodeDetail getEjbCodeDetail(boolean autoCreate)
addTemplateParameter
public void addTemplateParameter(ITemplateParameter templateParameter)
getTemplateParameterByIndex
public ITemplateParameter getTemplateParameterByIndex(int index)
removeTemplateParameter
public void removeTemplateParameter(ITemplateParameter templateParameter)
removeTemplateParameterByIndex
public void removeTemplateParameterByIndex(int index)
templateParameterCount
public int templateParameterCount()
toTemplateParameterArray
public ITemplateParameter[] toTemplateParameterArray()
templateParameterIterator
public java.util.Iterator templateParameterIterator()
setVisibility
public void setVisibility(java.lang.String visibility)
getVisibility
public java.lang.String getVisibility()
setAbstract
public void setAbstract(boolean $abstract)
isAbstract
public boolean isAbstract()
setLeaf
public void setLeaf(boolean leaf)
isLeaf
public boolean isLeaf()
setRoot
public void setRoot(boolean root)
isRoot
public boolean isRoot()
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
addOperation
public void addOperation(IOperation operation)
getOperationByIndex
public IOperation getOperationByIndex(int index)
removeOperation
public void removeOperation(IOperation operation)
removeOperationByIndex
public void removeOperationByIndex(int index)
operationCount
public int operationCount()
toOperationArray
public IOperation[] toOperationArray()
operationIterator
public java.util.Iterator operationIterator()
createOperation
public IOperation createOperation()
addAttribute
public void addAttribute(IAttribute attribute)
getAttributeByIndex
public IAttribute getAttributeByIndex(int index)
removeAttribute
public void removeAttribute(IAttribute attribute)
removeAttributeByIndex
public void removeAttributeByIndex(int index)
attributeCount
public int attributeCount()
toAttributeArray
public IAttribute[] toAttributeArray()
attributeIterator
public java.util.Iterator attributeIterator()
createAttribute
public IAttribute createAttribute()
addClass
public void addClass(IClass $class)
getClassByIndex
public IClass getClassByIndex(int index)
removeClass
public void removeClass(IClass $class)
removeClassByIndex
public void removeClassByIndex(int index)
classCount
public int classCount()
toClassArray
public IClass[] toClassArray()
classIterator
public java.util.Iterator classIterator()
createClass
public IClass createClass()
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