public interface IClass extends IHasChildrenBaseModelElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_ABSTRACT |
static java.lang.String |
PROP_ACTION_SCRIPT_CODE_DETAIL |
static java.lang.String |
PROP_ACTIVE |
static java.lang.String |
PROP_ANALYSIS_ITEM_DIAGRAM_IDS |
static java.lang.String |
PROP_ANALYSIS_ITEM_MODELS |
static java.lang.String |
PROP_BUSINESS_KEY_MUTABLE |
static java.lang.String |
PROP_BUSINESS_MODEL |
static java.lang.String |
PROP_CODE_SIGNATURE |
static java.lang.String |
PROP_CONNECT_TO_CODE_MODEL |
static java.lang.String |
PROP_DOTNET_CODE_DETAIL |
static java.lang.String |
PROP_EJB_CODE_DETAIL |
static java.lang.String |
PROP_FINAL_SPECIALIZATION |
static java.lang.String |
PROP_JAVA_DETAIL |
static java.lang.String |
PROP_LEAF |
static java.lang.String |
PROP_ORM_DETAIL |
static java.lang.String |
PROP_ORM_QUALIFIERS |
static java.lang.String |
PROP_QUALITY_REASON |
static java.lang.String |
PROP_QUALITY_SCORE |
static java.lang.String |
PROP_ROOT |
static java.lang.String |
PROP_STEREOTYPES |
static java.lang.String |
PROP_SYNC_MAPPING_MODELS |
static java.lang.String |
PROP_TAGGED_VALUES |
static java.lang.String |
PROP_TEMPLATE_PARAMETERS |
static java.lang.String |
PROP_VISIBILITY |
static java.lang.String |
PROP_XS_DETAIL |
static java.lang.String |
VISIBILITY_INTERNAL |
static java.lang.String |
VISIBILITY_PACKAGE |
static java.lang.String |
VISIBILITY_PRIVATE |
static java.lang.String |
VISIBILITY_PROTECTED |
static java.lang.String |
VISIBILITY_PROTECTED_INTERNAL |
static java.lang.String |
VISIBILITY_PUBLIC |
static java.lang.String |
VISIBILITY_UNSPECIFIED |
PROP_BACKLOG_ACTIVITY_ID, PROP_COMMENTS, PROP_DOCUMENTATION, PROP_GENERIC_VALUES, PROP_PM_AUTHOR, PROP_PM_CREATE_DATE_TIME, PROP_PM_DIFFICULTY, PROP_PM_DISCIPLINE, PROP_PM_ITERATION, PROP_PM_LAST_MODIFIED, PROP_PM_PHASE, PROP_PM_PRIORITY, PROP_PM_STATUS, PROP_PM_VERSION, PROP_REFERENCED_BY_DIAGRAM_IDS, PROP_REFERENCED_BY_MODEL_ADDRESSES, PROP_REFERENCES, PROP_TRANSIT_FROM, PROP_TRANSIT_TO, PROP_USER_ID, PROP_USER_ID_LAST_NUMERIC_VALUE, PROP_USER_ID_PARENT, PROP_VOICES
MODEL_QUALITY_SCORE_IGNORE, MODEL_QUALITY_SCORE_RECALCULATE, PROP_NAME
addComment, addGenericValue, addReference, addVoice, commentCount, commentIterator, genericValueCount, genericValueIterator, getBacklogActivityId, getCommentByIndex, getDescription, getGenericValueByIndex, getHTMLDescription, getHTMLDescription, getPmAuthor, getPmCreateDateTime, getPmDifficulty, getPmDiscipline, getPmIteration, getPmLastModified, getPmPhase, getPmPriority, getPmStatus, getPmVersion, getReferenceByIndex, getReferencedByDiagramIds, getReferencedByModelAddresses, getTransitFrom, getTransitTo, getUserID, getUserIDLastNumericValue, getUserIDParent, getVoiceByIndex, referenceCount, referenceIterator, removeComment, removeCommentByIndex, removeGenericValue, removeGenericValueByIndex, removeReference, removeReferenceByIndex, removeVoice, removeVoiceByIndex, setBacklogActivityId, setDescription, setHTMLDescription, setPmAuthor, setPmCreateDateTime, setPmDifficulty, setPmDiscipline, setPmIteration, setPmLastModified, setPmPhase, setPmPriority, setPmStatus, setPmVersion, setReferencedByDiagramIds, setReferencedByModelAddresses, setTransitFrom, setTransitTo, setUserID, setUserIDLastNumericValue, setUserIDParent, toCommentArray, toGenericValueArray, toReferenceArray, toVoiceArray, voiceCount, voiceIterator
addChild, addPropertyChangeListener, addSubDiagram, canModify, childCount, childCount, childCount, childIterator, childIterator, childIterator, constraintsIterator, createChild, delete, disposeTransientModel, duplicate, fromChartRelationshipCount, fromChartRelationshipIterator, getAddress, getChildById, getChildByIndex, getChildByIndex, getChildByName, getChildByName, getDescriptionWithReferenceModels, getDiagramElements, getDisplayQualityScore, getDocumentation, getDocumentationWithReferenceModels, getHTMLDescriptionWithReferenceModels, getHTMLDescriptionWithReferenceModels, getHTMLDocumentation, getHTMLDocumentation, getHTMLDocumentationWithReferenceModels, getHTMLDocumentationWithReferenceModels, getId, getMasterView, getMirrorSource, getModelPropertyByName, getModelQualityDetails, getModelType, getName, getNickDescription, getNickDescriptionWithReferenceModels, getNickDocumentation, getNickDocumentationWithReferenceModels, getNickHTMLDescription, getNickHTMLDescription, getNickHTMLDescriptionWithReferenceModels, getNickHTMLDescriptionWithReferenceModels, getNickHTMLDocumentation, getNickHTMLDocumentation, getNickHTMLDocumentationWithReferenceModels, getNickHTMLDocumentationWithReferenceModels, getNickname, getNickPropertyValue, getParent, getProject, getReferencedBys, getReferencingModels, getSubDiagramAt, indexOfSubDiagram, isMirrorModelElement, isTransientModel, removeChild, removeChildByIndex, removePropertyChangeListener, removeSubDiagram, setDocumentation, setHTMLDocumentation, setName, setNickDescription, setNickDocumentation, setNickHTMLDescription, setNickHTMLDocumentation, setNickname, subDiagramCount, subDiagramIterator, toChartRelationshipCount, toChartRelationshipIterator, toChildArray, toChildArray, toChildArray, toFromChartRelationshipArray, toModelPropertyArray, toPropertiesString, toSubDiagramArray, toToChartRelationshipArray
static final java.lang.String VISIBILITY_UNSPECIFIED
static final java.lang.String VISIBILITY_PRIVATE
static final java.lang.String VISIBILITY_PROTECTED
static final java.lang.String VISIBILITY_PACKAGE
static final java.lang.String VISIBILITY_PROTECTED_INTERNAL
static final java.lang.String VISIBILITY_INTERNAL
static final java.lang.String VISIBILITY_PUBLIC
static final java.lang.String PROP_ORM_QUALIFIERS
static final java.lang.String PROP_CODE_SIGNATURE
static final java.lang.String PROP_ACTIVE
static final java.lang.String PROP_BUSINESS_KEY_MUTABLE
static final java.lang.String PROP_JAVA_DETAIL
static final java.lang.String PROP_ORM_DETAIL
static final java.lang.String PROP_DOTNET_CODE_DETAIL
static final java.lang.String PROP_ACTION_SCRIPT_CODE_DETAIL
static final java.lang.String PROP_EJB_CODE_DETAIL
static final java.lang.String PROP_XS_DETAIL
static final java.lang.String PROP_TEMPLATE_PARAMETERS
static final java.lang.String PROP_CONNECT_TO_CODE_MODEL
static final java.lang.String PROP_BUSINESS_MODEL
static final java.lang.String PROP_VISIBILITY
static final java.lang.String PROP_FINAL_SPECIALIZATION
static final java.lang.String PROP_ABSTRACT
static final java.lang.String PROP_LEAF
static final java.lang.String PROP_ROOT
static final java.lang.String PROP_STEREOTYPES
static final java.lang.String PROP_TAGGED_VALUES
static final java.lang.String PROP_SYNC_MAPPING_MODELS
static final java.lang.String PROP_ANALYSIS_ITEM_MODELS
static final java.lang.String PROP_ANALYSIS_ITEM_DIAGRAM_IDS
static final java.lang.String PROP_QUALITY_SCORE
static final java.lang.String PROP_QUALITY_REASON
void addOperation(IOperation child)
void removeOperation(IOperation child)
IOperation getOperationByIndex(int index)
void removeOperationByIndex(int index)
void reorderOperation(IOperation[] childs)
int operationCount()
java.util.Iterator operationIterator()
IOperation[] toOperationArray()
IOperation createOperation()
IOperation getOperationByName(java.lang.String name)
void addAttribute(IAttribute child)
void removeAttribute(IAttribute child)
IAttribute getAttributeByIndex(int index)
void removeAttributeByIndex(int index)
void reorderAttribute(IAttribute[] childs)
int attributeCount()
java.util.Iterator attributeIterator()
IAttribute[] toAttributeArray()
IAttribute createAttribute()
IAttribute getAttributeByName(java.lang.String name)
void addClass(IClass child)
void removeClass(IClass child)
IClass getClassByIndex(int index)
void removeClassByIndex(int index)
void reorderClass(IClass[] childs)
int classCount()
java.util.Iterator classIterator()
IClass[] toClassArray()
IClass createClass()
IClass getClassByName(java.lang.String name)
void addPort(IPort child)
void removePort(IPort child)
IPort getPortByIndex(int index)
void removePortByIndex(int index)
void reorderPort(IPort[] childs)
int portCount()
java.util.Iterator portIterator()
IPort[] toPortArray()
IPort createPort()
IPort getPortByName(java.lang.String name)
void addStateMachine(IStateMachine child)
void removeStateMachine(IStateMachine child)
IStateMachine getStateMachineByIndex(int index)
void removeStateMachineByIndex(int index)
void reorderStateMachine(IStateMachine[] childs)
int stateMachineCount()
java.util.Iterator stateMachineIterator()
IStateMachine[] toStateMachineArray()
IStateMachine createStateMachine()
IStateMachine getStateMachineByName(java.lang.String name)
void addActivity(IActivity child)
void removeActivity(IActivity child)
IActivity getActivityByIndex(int index)
void removeActivityByIndex(int index)
void reorderActivity(IActivity[] childs)
int activityCount()
java.util.Iterator activityIterator()
IActivity[] toActivityArray()
IActivity createActivity()
IActivity getActivityByName(java.lang.String name)
void addInteraction(IInteraction child)
void removeInteraction(IInteraction child)
IInteraction getInteractionByIndex(int index)
void removeInteractionByIndex(int index)
void reorderInteraction(IInteraction[] childs)
int interactionCount()
java.util.Iterator interactionIterator()
IInteraction[] toInteractionArray()
IInteraction createInteraction()
IInteraction getInteractionByName(java.lang.String name)
void addOpaqueBehavior(IOpaqueBehavior child)
void removeOpaqueBehavior(IOpaqueBehavior child)
IOpaqueBehavior getOpaqueBehaviorByIndex(int index)
void removeOpaqueBehaviorByIndex(int index)
void reorderOpaqueBehavior(IOpaqueBehavior[] childs)
int opaqueBehaviorCount()
java.util.Iterator opaqueBehaviorIterator()
IOpaqueBehavior[] toOpaqueBehaviorArray()
IOpaqueBehavior createOpaqueBehavior()
IOpaqueBehavior getOpaqueBehaviorByName(java.lang.String name)
void addFunctionBehavior(IFunctionBehavior child)
void removeFunctionBehavior(IFunctionBehavior child)
IFunctionBehavior getFunctionBehaviorByIndex(int index)
void removeFunctionBehaviorByIndex(int index)
void reorderFunctionBehavior(IFunctionBehavior[] childs)
int functionBehaviorCount()
java.util.Iterator functionBehaviorIterator()
IFunctionBehavior[] toFunctionBehaviorArray()
IFunctionBehavior createFunctionBehavior()
IFunctionBehavior getFunctionBehaviorByName(java.lang.String name)
void addCollaborationOccurrence(ICollaborationOccurrence child)
void removeCollaborationOccurrence(ICollaborationOccurrence child)
ICollaborationOccurrence getCollaborationOccurrenceByIndex(int index)
void removeCollaborationOccurrenceByIndex(int index)
void reorderCollaborationOccurrence(ICollaborationOccurrence[] childs)
int collaborationOccurrenceCount()
java.util.Iterator collaborationOccurrenceIterator()
ICollaborationOccurrence[] toCollaborationOccurrenceArray()
ICollaborationOccurrence createCollaborationOccurrence()
ICollaborationOccurrence getCollaborationOccurrenceByName(java.lang.String name)
void addEnumerationLiteral(IEnumerationLiteral child)
void removeEnumerationLiteral(IEnumerationLiteral child)
IEnumerationLiteral getEnumerationLiteralByIndex(int index)
void removeEnumerationLiteralByIndex(int index)
void reorderEnumerationLiteral(IEnumerationLiteral[] childs)
int enumerationLiteralCount()
java.util.Iterator enumerationLiteralIterator()
IEnumerationLiteral[] toEnumerationLiteralArray()
IEnumerationLiteral createEnumerationLiteral()
IEnumerationLiteral getEnumerationLiteralByName(java.lang.String name)
void addReception(IReception child)
void removeReception(IReception child)
IReception getReceptionByIndex(int index)
void removeReceptionByIndex(int index)
void reorderReception(IReception[] childs)
int receptionCount()
java.util.Iterator receptionIterator()
IReception[] toReceptionArray()
IReception createReception()
IReception getReceptionByName(java.lang.String name)
int fromRelationshipCount()
ISimpleRelationship
that connect from this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445fromRelationshipCount
in interface IModelElement
ISimpleRelationship[] toFromRelationshipArray()
ISimpleRelationship
s that connect from this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445toFromRelationshipArray
in interface IModelElement
ISimpleRelationship
s that connect from this model elementjava.util.Iterator fromRelationshipIterator()
ISimpleRelationship
s that connect from this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445fromRelationshipIterator
in interface IModelElement
ISimpleRelationship
s that connect from this model elementint toRelationshipCount()
ISimpleRelationship
that connect to this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445toRelationshipCount
in interface IModelElement
ISimpleRelationship[] toToRelationshipArray()
ISimpleRelationship
s that connect to this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445toToRelationshipArray
in interface IModelElement
ISimpleRelationship
s that connect to this model elementjava.util.Iterator toRelationshipIterator()
ISimpleRelationship
s that connect to this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445toRelationshipIterator
in interface IModelElement
ISimpleRelationship
s that connect to this model elementint fromRelationshipEndCount()
IRelationshipEnd
that connect from this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445fromRelationshipEndCount
in interface IModelElement
IRelationshipEnd[] toFromRelationshipEndArray()
IRelationshipEnd
s that connect from this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445toFromRelationshipEndArray
in interface IModelElement
IRelationshipEnd
s that connect from this model elementjava.util.Iterator fromRelationshipEndIterator()
IRelationshipEnd
s that connect from this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445fromRelationshipEndIterator
in interface IModelElement
IRelationshipEnd
s that connect from this model elementint toRelationshipEndCount()
IRelationshipEnd
that connect to this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445toRelationshipEndCount
in interface IModelElement
IRelationshipEnd[] toToRelationshipEndArray()
IRelationshipEnd
s that connect to this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445toToRelationshipEndArray
in interface IModelElement
IRelationshipEnd
s that connect to this model elementjava.util.Iterator toRelationshipEndIterator()
IRelationshipEnd
s that connect to this model element.
Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2445toRelationshipEndIterator
in interface IModelElement
IRelationshipEnd
s that connect to this model elementvoid addOrmQualifier(IORMQualifier ormQualifier)
void removeOrmQualifier(IORMQualifier ormQualifier)
IORMQualifier getOrmQualifierByIndex(int index)
void removeOrmQualifierByIndex(int index)
int ormQualifierCount()
java.util.Iterator ormQualifierIterator()
IORMQualifier
.IORMQualifier[] toOrmQualifierArray()
void setActive(boolean active)
boolean isActive()
void setBusinessKeyMutable(boolean businessKeyMutable)
boolean isBusinessKeyMutable()
void setJavaDetail(IJavaClassCodeDetail javaDetail)
IJavaClassCodeDetail getJavaDetail()
void setOrmDetail(IORMClassDetail ormDetail)
IORMClassDetail getOrmDetail()
void setDotnetCodeDetail(IDotNetClassCodeDetail dotnetCodeDetail)
IDotNetClassCodeDetail getDotnetCodeDetail()
void setActionScriptCodeDetail(IActionScriptClassCodeDetail actionScriptCodeDetail)
IActionScriptClassCodeDetail getActionScriptCodeDetail()
void setEjbCodeDetail(IEJBClassCodeDetail ejbCodeDetail)
IEJBClassCodeDetail getEjbCodeDetail()
void addTemplateParameter(ITemplateParameter templateParameter)
void removeTemplateParameter(ITemplateParameter templateParameter)
ITemplateParameter getTemplateParameterByIndex(int index)
void removeTemplateParameterByIndex(int index)
int templateParameterCount()
java.util.Iterator templateParameterIterator()
ITemplateParameter
.ITemplateParameter[] toTemplateParameterArray()
void setBusinessModel(boolean businessModel)
boolean isBusinessModel()
void setVisibility(java.lang.String visibility)
java.lang.String getVisibility()
void setFinalSpecialization(boolean finalSpecialization)
boolean isFinalSpecialization()
void setAbstract(boolean $abstract)
boolean isAbstract()
void setLeaf(boolean leaf)
boolean isLeaf()
void setRoot(boolean root)
boolean isRoot()
void addStereotype(java.lang.String name)
IModelElement
IStereotype
does not existing in current project. It will be auto created.addStereotype
in interface IModelElement
void removeStereotype(java.lang.String name)
IModelElement
removeStereotype
in interface IModelElement
void addStereotype(IStereotype stereotype)
IStereotype
into this model element. The IStereotype
may belong to current project or referenced project(s). Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2378addStereotype
in interface IModelElement
stereotype
- the IStereotype
will be added into this model element. The baseType
of the IStereotype
is required to be matched with modelType
of this model element. If they are different, or stereotype is null, will cause an IllegalArgumentException.
java.lang.IllegalArgumentException
- if the stereotype
is null, or its baseType
does not match with modelType
of this model element.void removeStereotype(IStereotype stereotype)
IStereotype
from this model element. The IStereotype
can belong to current project or referenced project(s).removeStereotype
in interface IModelElement
stereotype
- the IStereotype
will be removed from this model element.boolean hasStereotype(java.lang.String name)
hasStereotype
in interface IModelElement
int stereotypeCount()
stereotypeCount
in interface IModelElement
java.lang.String[] toStereotypeArray()
java.util.Iterator stereotypeIterator()
java.util.Iterator stereotypeModelIterator()
IStereotype
.stereotypeModelIterator
in interface IModelElement
IStereotype[] toStereotypeModelArray()
toStereotypeModelArray
in interface IModelElement
void addStereotypes(java.lang.String name)
void removeStereotypes(java.lang.String name)
boolean hasStereotypes(java.lang.String name)
int stereotypesCount()
java.lang.String[] toStereotypesArray()
java.util.Iterator stereotypesIterator()
java.util.Iterator stereotypesModelIterator()
IStereotype[] toStereotypesModelArray()
void setTaggedValues(ITaggedValueContainer taggedValues)
setTaggedValues
in interface IModelElement
ITaggedValueContainer getTaggedValues()
getTaggedValues
in interface IModelElement
void addSyncMappingModel(IModelElement syncMappingModel)
void removeSyncMappingModel(IModelElement syncMappingModel)
IModelElement getSyncMappingModelByIndex(int index)
void removeSyncMappingModelByIndex(int index)
int syncMappingModelCount()
java.util.Iterator syncMappingModelIterator()
IModelElement
.IModelElement[] toSyncMappingModelArray()
void addAnalysisItemModel(IModelElement analysisItemModel)
void removeAnalysisItemModel(IModelElement analysisItemModel)
IModelElement getAnalysisItemModelByIndex(int index)
void removeAnalysisItemModelByIndex(int index)
int analysisItemModelCount()
java.util.Iterator analysisItemModelIterator()
IModelElement
.IModelElement[] toAnalysisItemModelArray()
void setAnalysisItemDiagramIds(java.lang.String[] analysisItemDiagramIds)
java.lang.String[] getAnalysisItemDiagramIds()
void setQualityScore(int qualityScore)
int getQualityScore()
IModelElement
getQualityScore
in interface IModelElement
void setQualityReason(java.lang.String qualityReason)
java.lang.String getQualityReason()
IModelElement
getQualityReason
in interface IModelElement