public interface IParameter extends INoChildrenNoRelationshipBaseModelElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DIRECTION_IN |
static java.lang.String |
DIRECTION_INOUT |
static java.lang.String |
DIRECTION_OUT |
static java.lang.String |
DIRECTION_RETURN |
static java.lang.String |
MULTIPLICITY_MANY |
static java.lang.String |
MULTIPLICITY_ONE |
static java.lang.String |
MULTIPLICITY_ONE_TO_MANY |
static java.lang.String |
MULTIPLICITY_UNSPECIFIED |
static java.lang.String |
MULTIPLICITY_ZERO |
static java.lang.String |
MULTIPLICITY_ZERO_TO_MANY |
static java.lang.String |
MULTIPLICITY_ZERO_TO_ONE |
static java.lang.String |
PROP_ANALYSIS_ITEM_DIAGRAM_IDS |
static java.lang.String |
PROP_ANALYSIS_ITEM_MODELS |
static java.lang.String |
PROP_CODE_SIGNATURE |
static java.lang.String |
PROP_CPP_DETAIL |
static java.lang.String |
PROP_DEFAULT_VALUE |
static java.lang.String |
PROP_DIRECTION |
static java.lang.String |
PROP_DOTNET_CODE_DETAIL |
static java.lang.String |
PROP_JAVA_DETAIL |
static java.lang.String |
PROP_MULTIPLICITY |
static java.lang.String |
PROP_MULTIPLICITY_DETAIL |
static java.lang.String |
PROP_OPERATION |
static java.lang.String |
PROP_QUALITY_REASON |
static java.lang.String |
PROP_QUALITY_SCORE |
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_TYPE_BIND_INFO |
static java.lang.String |
PROP_TYPE |
static java.lang.String |
PROP_TYPE_MODIFIER |
static java.lang.String |
TYPE_MODIFIER_AMP |
static java.lang.String |
TYPE_MODIFIER_ARRAY |
static java.lang.String |
TYPE_MODIFIER_ASTERISK |
static java.lang.String |
TYPE_MODIFIER_EMPTY |
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
Modifier and Type | Method and Description |
---|---|
void |
addAnalysisItemModel(IModelElement analysisItemModel) |
void |
addStereotype(IStereotype stereotype)
Add a stereotype
IStereotype into this model element. |
void |
addStereotype(java.lang.String name)
Add a stereotype into this model element.
|
void |
addStereotypes(java.lang.String name)
Deprecated.
Replaced by addStereotype
|
void |
addSyncMappingModel(IModelElement syncMappingModel) |
int |
analysisItemModelCount() |
java.util.Iterator |
analysisItemModelIterator()
Returns an iterator over the model elements
IModelElement . |
java.lang.String[] |
getAnalysisItemDiagramIds() |
IModelElement |
getAnalysisItemModelByIndex(int index) |
ICPPParameterCodeDetail |
getCppDetail() |
java.lang.Object |
getDefaultValue() |
IModelElement |
getDefaultValueAsElement() |
IModelElement |
getDefaultValueAsModel() |
java.lang.String |
getDefaultValueAsString() |
java.lang.String |
getDefaultValueAsText() |
java.lang.String |
getDirection() |
IDotNetParameterCodeDetail |
getDotnetCodeDetail() |
IJavaParameterCodeDetail |
getJavaDetail() |
java.lang.String |
getMultiplicity() |
IMultiplicity |
getMultiplicityDetail() |
IOperation |
getOperation() |
java.lang.String |
getQualityReason()
Quality reason, it is non-readable value for human
|
int |
getQualityScore()
Quality score, it is non-readable value for human
|
IModelElement |
getSyncMappingModelByIndex(int index) |
ITaggedValueContainer |
getTaggedValues() |
ITemplateTypeBindInfo |
getTemplateTypeBindInfo() |
java.lang.Object |
getType() |
IModelElement |
getTypeAsElement() |
IModelElement |
getTypeAsModel() |
java.lang.String |
getTypeAsString() |
java.lang.String |
getTypeAsText() |
java.lang.String |
getTypeModifier() |
boolean |
hasStereotype(java.lang.String name) |
boolean |
hasStereotypes(java.lang.String name)
Deprecated.
Replaced by hasStereotype
|
void |
removeAnalysisItemModel(IModelElement analysisItemModel) |
void |
removeAnalysisItemModelByIndex(int index) |
void |
removeStereotype(IStereotype stereotype)
Remove a stereotype
IStereotype from this model element. |
void |
removeStereotype(java.lang.String name)
Remove a stereotype from this model element.
|
void |
removeStereotypes(java.lang.String name)
Deprecated.
Replaced by removeStereotype
|
void |
removeSyncMappingModel(IModelElement syncMappingModel) |
void |
removeSyncMappingModelByIndex(int index) |
void |
setAnalysisItemDiagramIds(java.lang.String[] analysisItemDiagramIds) |
void |
setCppDetail(ICPPParameterCodeDetail cppDetail) |
void |
setDefaultValue(IModelElement defaultValue) |
void |
setDefaultValue(java.lang.String defaultValue) |
void |
setDirection(java.lang.String direction) |
void |
setDotnetCodeDetail(IDotNetParameterCodeDetail dotnetCodeDetail) |
void |
setJavaDetail(IJavaParameterCodeDetail javaDetail) |
void |
setMultiplicity(java.lang.String multiplicity) |
void |
setMultiplicityDetail(IMultiplicity multiplicityDetail) |
void |
setOperation(IOperation operation) |
void |
setQualityReason(java.lang.String qualityReason) |
void |
setQualityScore(int qualityScore) |
void |
setTaggedValues(ITaggedValueContainer taggedValues) |
void |
setTemplateTypeBindInfo(ITemplateTypeBindInfo templateTypeBindInfo) |
void |
setType(IModelElement type) |
void |
setType(java.lang.String type) |
void |
setTypeModifier(java.lang.String typeModifier) |
int |
stereotypeCount() |
java.util.Iterator |
stereotypeIterator()
Returns an iterator over the names of the stereotypes.
|
java.util.Iterator |
stereotypeModelIterator()
Returns an iterator over the model elements
IStereotype . |
int |
stereotypesCount()
Deprecated.
Replaced by stereotypeCount
|
java.util.Iterator |
stereotypesIterator()
Deprecated.
Replaced by stereotypeIterator
|
java.util.Iterator |
stereotypesModelIterator()
Deprecated.
Replaced by stereotypeModelIterator
|
int |
syncMappingModelCount() |
java.util.Iterator |
syncMappingModelIterator()
Returns an iterator over the model elements
IModelElement . |
IModelElement[] |
toAnalysisItemModelArray() |
java.lang.String[] |
toStereotypeArray() |
IStereotype[] |
toStereotypeModelArray() |
java.lang.String[] |
toStereotypesArray()
Deprecated.
Replaced by toStereotypeArray
|
IStereotype[] |
toStereotypesModelArray()
Deprecated.
Replaced by toStereotypeModelArray
|
IModelElement[] |
toSyncMappingModelArray() |
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, fromRelationshipCount, fromRelationshipEndCount, fromRelationshipEndIterator, fromRelationshipIterator, 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, toFromRelationshipArray, toFromRelationshipEndArray, toModelPropertyArray, toPropertiesString, toRelationshipCount, toRelationshipEndCount, toRelationshipEndIterator, toRelationshipIterator, toSubDiagramArray, toToChartRelationshipArray, toToRelationshipArray, toToRelationshipEndArray
static final java.lang.String MULTIPLICITY_UNSPECIFIED
static final java.lang.String MULTIPLICITY_ZERO
static final java.lang.String MULTIPLICITY_ZERO_TO_ONE
static final java.lang.String MULTIPLICITY_ZERO_TO_MANY
static final java.lang.String MULTIPLICITY_ONE
static final java.lang.String MULTIPLICITY_ONE_TO_MANY
static final java.lang.String MULTIPLICITY_MANY
static final java.lang.String TYPE_MODIFIER_EMPTY
static final java.lang.String TYPE_MODIFIER_AMP
static final java.lang.String TYPE_MODIFIER_ASTERISK
static final java.lang.String TYPE_MODIFIER_ARRAY
static final java.lang.String DIRECTION_IN
static final java.lang.String DIRECTION_OUT
static final java.lang.String DIRECTION_INOUT
static final java.lang.String DIRECTION_RETURN
static final java.lang.String PROP_MULTIPLICITY_DETAIL
static final java.lang.String PROP_MULTIPLICITY
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
static final java.lang.String PROP_TEMPLATE_TYPE_BIND_INFO
static final java.lang.String PROP_CODE_SIGNATURE
static final java.lang.String PROP_OPERATION
static final java.lang.String PROP_TYPE_MODIFIER
static final java.lang.String PROP_TYPE
static final java.lang.String PROP_DIRECTION
static final java.lang.String PROP_DEFAULT_VALUE
static final java.lang.String PROP_JAVA_DETAIL
static final java.lang.String PROP_DOTNET_CODE_DETAIL
static final java.lang.String PROP_CPP_DETAIL
void setMultiplicityDetail(IMultiplicity multiplicityDetail)
IMultiplicity getMultiplicityDetail()
void setMultiplicity(java.lang.String multiplicity)
java.lang.String getMultiplicity()
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
void setTemplateTypeBindInfo(ITemplateTypeBindInfo templateTypeBindInfo)
ITemplateTypeBindInfo getTemplateTypeBindInfo()
void setOperation(IOperation operation)
IOperation getOperation()
void setTypeModifier(java.lang.String typeModifier)
java.lang.String getTypeModifier()
void setType(java.lang.String type)
java.lang.String getTypeAsString()
void setType(IModelElement type)
IModelElement getTypeAsModel()
java.lang.String getTypeAsText()
IModelElement getTypeAsElement()
java.lang.Object getType()
void setDirection(java.lang.String direction)
java.lang.String getDirection()
void setDefaultValue(java.lang.String defaultValue)
java.lang.String getDefaultValueAsString()
void setDefaultValue(IModelElement defaultValue)
IModelElement getDefaultValueAsModel()
java.lang.String getDefaultValueAsText()
IModelElement getDefaultValueAsElement()
java.lang.Object getDefaultValue()
void setJavaDetail(IJavaParameterCodeDetail javaDetail)
IJavaParameterCodeDetail getJavaDetail()
void setDotnetCodeDetail(IDotNetParameterCodeDetail dotnetCodeDetail)
IDotNetParameterCodeDetail getDotnetCodeDetail()
void setCppDetail(ICPPParameterCodeDetail cppDetail)
ICPPParameterCodeDetail getCppDetail()