public class MultiplicityWrapper extends Object implements org.eclipse.uml2.uml.MultiplicityElement
| Constructor and Description |
|---|
MultiplicityWrapper(org.eclipse.uml2.uml.MultiplicityElement multiplicityElement) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addKeyword(String keyword) |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Element> |
allOwnedElements() |
org.eclipse.emf.ecore.EObject |
applyStereotype(org.eclipse.uml2.uml.Stereotype stereotype) |
boolean |
compatibleWith(org.eclipse.uml2.uml.MultiplicityElement other) |
org.eclipse.emf.ecore.EAnnotation |
createEAnnotation(String source) |
org.eclipse.uml2.uml.ValueSpecification |
createLowerValue(String name,
org.eclipse.uml2.uml.Type type,
org.eclipse.emf.ecore.EClass eClass) |
org.eclipse.uml2.uml.Comment |
createOwnedComment() |
org.eclipse.uml2.uml.ValueSpecification |
createUpperValue(String name,
org.eclipse.uml2.uml.Type type,
org.eclipse.emf.ecore.EClass eClass) |
void |
destroy() |
org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> |
eAdapters() |
org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> |
eAllContents() |
org.eclipse.emf.ecore.EClass |
eClass() |
org.eclipse.emf.ecore.EObject |
eContainer() |
org.eclipse.emf.ecore.EStructuralFeature |
eContainingFeature() |
org.eclipse.emf.ecore.EReference |
eContainmentFeature() |
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
eContents() |
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
eCrossReferences() |
boolean |
eDeliver() |
Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature arg0) |
Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature arg0,
boolean arg1) |
Object |
eInvoke(org.eclipse.emf.ecore.EOperation arg0,
org.eclipse.emf.common.util.EList<?> arg1) |
boolean |
eIsProxy() |
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature arg0) |
void |
eNotify(org.eclipse.emf.common.notify.Notification arg0) |
org.eclipse.emf.ecore.resource.Resource |
eResource() |
void |
eSet(org.eclipse.emf.ecore.EStructuralFeature arg0,
Object arg1) |
void |
eSetDeliver(boolean arg0) |
void |
eUnset(org.eclipse.emf.ecore.EStructuralFeature arg0) |
org.eclipse.uml2.uml.Stereotype |
getApplicableStereotype(String qualifiedName) |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Stereotype> |
getApplicableStereotypes() |
org.eclipse.uml2.uml.Stereotype |
getAppliedStereotype(String qualifiedName) |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Stereotype> |
getAppliedStereotypes() |
org.eclipse.uml2.uml.Stereotype |
getAppliedSubstereotype(org.eclipse.uml2.uml.Stereotype stereotype,
String qualifiedName) |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Stereotype> |
getAppliedSubstereotypes(org.eclipse.uml2.uml.Stereotype stereotype) |
org.eclipse.emf.ecore.EAnnotation |
getEAnnotation(String arg0) |
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EAnnotation> |
getEAnnotations() |
org.eclipse.emf.common.util.EList<String> |
getKeywords() |
int |
getLower() |
org.eclipse.uml2.uml.ValueSpecification |
getLowerValue() |
org.eclipse.uml2.uml.Model |
getModel() |
org.eclipse.uml2.uml.Package |
getNearestPackage() |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Comment> |
getOwnedComments() |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Element> |
getOwnedElements() |
org.eclipse.uml2.uml.Element |
getOwner() |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Relationship> |
getRelationships() |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Relationship> |
getRelationships(org.eclipse.emf.ecore.EClass eClass) |
org.eclipse.uml2.uml.Stereotype |
getRequiredStereotype(String qualifiedName) |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Stereotype> |
getRequiredStereotypes() |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.DirectedRelationship> |
getSourceDirectedRelationships() |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.DirectedRelationship> |
getSourceDirectedRelationships(org.eclipse.emf.ecore.EClass eClass) |
org.eclipse.emf.ecore.EObject |
getStereotypeApplication(org.eclipse.uml2.uml.Stereotype stereotype) |
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
getStereotypeApplications() |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.DirectedRelationship> |
getTargetDirectedRelationships() |
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.DirectedRelationship> |
getTargetDirectedRelationships(org.eclipse.emf.ecore.EClass eClass) |
int |
getUpper() |
org.eclipse.uml2.uml.ValueSpecification |
getUpperValue() |
Object |
getValue(org.eclipse.uml2.uml.Stereotype stereotype,
String propertyName) |
boolean |
hasKeyword(String keyword) |
boolean |
hasValue(org.eclipse.uml2.uml.Stereotype stereotype,
String propertyName) |
boolean |
includesMultiplicity(org.eclipse.uml2.uml.MultiplicityElement M) |
boolean |
is(int lowerbound,
int upperbound) |
boolean |
isMany() |
boolean |
isMultivalued() |
boolean |
isOne() |
boolean |
isOrdered() |
boolean |
isStereotypeApplicable(org.eclipse.uml2.uml.Stereotype stereotype) |
boolean |
isStereotypeApplied(org.eclipse.uml2.uml.Stereotype stereotype) |
boolean |
isStereotypeRequired(org.eclipse.uml2.uml.Stereotype stereotype) |
boolean |
isUnique() |
int |
lowerBound() |
boolean |
mustBeOwned() |
boolean |
removeKeyword(String keyword) |
void |
setIsOrdered(boolean value) |
void |
setIsUnique(boolean value) |
void |
setLower(int value) |
void |
setLowerValue(org.eclipse.uml2.uml.ValueSpecification value) |
void |
setUpper(int value) |
void |
setUpperValue(org.eclipse.uml2.uml.ValueSpecification value) |
void |
setValue(org.eclipse.uml2.uml.Stereotype stereotype,
String propertyName,
Object newValue) |
org.eclipse.emf.ecore.EObject |
unapplyStereotype(org.eclipse.uml2.uml.Stereotype stereotype) |
int |
upperBound() |
boolean |
validateHasOwner(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateLowerGe0(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateLowerIsInteger(org.eclipse.emf.common.util.DiagnosticChain diagnosticChain,
Map<Object,Object> objectObjectMap) |
boolean |
validateNotOwnSelf(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateUpperGeLower(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateUpperIsUnlimitedNatural(org.eclipse.emf.common.util.DiagnosticChain diagnosticChain,
Map<Object,Object> objectObjectMap) |
boolean |
validateValueSpecificationConstant(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateValueSpecificationNoSideEffects(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
public MultiplicityWrapper(org.eclipse.uml2.uml.MultiplicityElement multiplicityElement)
public boolean isOne()
public boolean isMany()
public org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Element> getOwnedElements()
getOwnedElements in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.uml2.uml.Element getOwner()
getOwner in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Comment> getOwnedComments()
getOwnedComments in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.uml2.uml.Comment createOwnedComment()
createOwnedComment in interface org.eclipse.uml2.uml.Elementpublic boolean validateNotOwnSelf(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
validateNotOwnSelf in interface org.eclipse.uml2.uml.Elementpublic boolean validateHasOwner(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
validateHasOwner in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getStereotypeApplications()
getStereotypeApplications in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.ecore.EObject getStereotypeApplication(org.eclipse.uml2.uml.Stereotype stereotype)
getStereotypeApplication in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Stereotype> getRequiredStereotypes()
getRequiredStereotypes in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.uml2.uml.Stereotype getRequiredStereotype(String qualifiedName)
getRequiredStereotype in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Stereotype> getAppliedStereotypes()
getAppliedStereotypes in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.uml2.uml.Stereotype getAppliedStereotype(String qualifiedName)
getAppliedStereotype in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Stereotype> getAppliedSubstereotypes(org.eclipse.uml2.uml.Stereotype stereotype)
getAppliedSubstereotypes in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.uml2.uml.Stereotype getAppliedSubstereotype(org.eclipse.uml2.uml.Stereotype stereotype,
String qualifiedName)
getAppliedSubstereotype in interface org.eclipse.uml2.uml.Elementpublic boolean hasValue(org.eclipse.uml2.uml.Stereotype stereotype,
String propertyName)
hasValue in interface org.eclipse.uml2.uml.Elementpublic Object getValue(org.eclipse.uml2.uml.Stereotype stereotype, String propertyName)
getValue in interface org.eclipse.uml2.uml.Elementpublic void setValue(org.eclipse.uml2.uml.Stereotype stereotype,
String propertyName,
Object newValue)
setValue in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.ecore.EAnnotation createEAnnotation(String source)
createEAnnotation in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Relationship> getRelationships()
getRelationships in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Relationship> getRelationships(org.eclipse.emf.ecore.EClass eClass)
getRelationships in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.DirectedRelationship> getSourceDirectedRelationships()
getSourceDirectedRelationships in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.DirectedRelationship> getSourceDirectedRelationships(org.eclipse.emf.ecore.EClass eClass)
getSourceDirectedRelationships in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.DirectedRelationship> getTargetDirectedRelationships()
getTargetDirectedRelationships in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.DirectedRelationship> getTargetDirectedRelationships(org.eclipse.emf.ecore.EClass eClass)
getTargetDirectedRelationships in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<String> getKeywords()
getKeywords in interface org.eclipse.uml2.uml.Elementpublic boolean addKeyword(String keyword)
addKeyword in interface org.eclipse.uml2.uml.Elementpublic boolean removeKeyword(String keyword)
removeKeyword in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.uml2.uml.Package getNearestPackage()
getNearestPackage in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.uml2.uml.Model getModel()
getModel in interface org.eclipse.uml2.uml.Elementpublic boolean isStereotypeApplicable(org.eclipse.uml2.uml.Stereotype stereotype)
isStereotypeApplicable in interface org.eclipse.uml2.uml.Elementpublic boolean isStereotypeRequired(org.eclipse.uml2.uml.Stereotype stereotype)
isStereotypeRequired in interface org.eclipse.uml2.uml.Elementpublic boolean isStereotypeApplied(org.eclipse.uml2.uml.Stereotype stereotype)
isStereotypeApplied in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.ecore.EObject applyStereotype(org.eclipse.uml2.uml.Stereotype stereotype)
applyStereotype in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.ecore.EObject unapplyStereotype(org.eclipse.uml2.uml.Stereotype stereotype)
unapplyStereotype in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Stereotype> getApplicableStereotypes()
getApplicableStereotypes in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.uml2.uml.Stereotype getApplicableStereotype(String qualifiedName)
getApplicableStereotype in interface org.eclipse.uml2.uml.Elementpublic boolean hasKeyword(String keyword)
hasKeyword in interface org.eclipse.uml2.uml.Elementpublic void destroy()
destroy in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Element> allOwnedElements()
allOwnedElements in interface org.eclipse.uml2.uml.Elementpublic boolean mustBeOwned()
mustBeOwned in interface org.eclipse.uml2.uml.Elementpublic org.eclipse.emf.ecore.EAnnotation getEAnnotation(String arg0)
getEAnnotation in interface org.eclipse.emf.ecore.EModelElementpublic org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EAnnotation> getEAnnotations()
getEAnnotations in interface org.eclipse.emf.ecore.EModelElementpublic org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> eAllContents()
eAllContents in interface org.eclipse.emf.ecore.EObjectpublic org.eclipse.emf.ecore.EClass eClass()
eClass in interface org.eclipse.emf.ecore.EObjectpublic org.eclipse.emf.ecore.EObject eContainer()
eContainer in interface org.eclipse.emf.ecore.EObjectpublic org.eclipse.emf.ecore.EStructuralFeature eContainingFeature()
eContainingFeature in interface org.eclipse.emf.ecore.EObjectpublic org.eclipse.emf.ecore.EReference eContainmentFeature()
eContainmentFeature in interface org.eclipse.emf.ecore.EObjectpublic org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eContents()
eContents in interface org.eclipse.emf.ecore.EObjectpublic org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eCrossReferences()
eCrossReferences in interface org.eclipse.emf.ecore.EObjectpublic Object eGet(org.eclipse.emf.ecore.EStructuralFeature arg0)
eGet in interface org.eclipse.emf.ecore.EObjectpublic Object eGet(org.eclipse.emf.ecore.EStructuralFeature arg0, boolean arg1)
eGet in interface org.eclipse.emf.ecore.EObjectpublic Object eInvoke(org.eclipse.emf.ecore.EOperation arg0, org.eclipse.emf.common.util.EList<?> arg1) throws InvocationTargetException
eInvoke in interface org.eclipse.emf.ecore.EObjectInvocationTargetExceptionpublic boolean eIsProxy()
eIsProxy in interface org.eclipse.emf.ecore.EObjectpublic boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature arg0)
eIsSet in interface org.eclipse.emf.ecore.EObjectpublic org.eclipse.emf.ecore.resource.Resource eResource()
eResource in interface org.eclipse.emf.ecore.EObjectpublic void eSet(org.eclipse.emf.ecore.EStructuralFeature arg0,
Object arg1)
eSet in interface org.eclipse.emf.ecore.EObjectpublic void eUnset(org.eclipse.emf.ecore.EStructuralFeature arg0)
eUnset in interface org.eclipse.emf.ecore.EObjectpublic org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> eAdapters()
eAdapters in interface org.eclipse.emf.common.notify.Notifierpublic boolean eDeliver()
eDeliver in interface org.eclipse.emf.common.notify.Notifierpublic void eNotify(org.eclipse.emf.common.notify.Notification arg0)
eNotify in interface org.eclipse.emf.common.notify.Notifierpublic void eSetDeliver(boolean arg0)
eSetDeliver in interface org.eclipse.emf.common.notify.Notifierpublic boolean isOrdered()
isOrdered in interface org.eclipse.uml2.uml.MultiplicityElementpublic void setIsOrdered(boolean value)
setIsOrdered in interface org.eclipse.uml2.uml.MultiplicityElementpublic boolean isUnique()
isUnique in interface org.eclipse.uml2.uml.MultiplicityElementpublic void setIsUnique(boolean value)
setIsUnique in interface org.eclipse.uml2.uml.MultiplicityElementpublic int getUpper()
getUpper in interface org.eclipse.uml2.uml.MultiplicityElementpublic void setUpper(int value)
setUpper in interface org.eclipse.uml2.uml.MultiplicityElementpublic int getLower()
getLower in interface org.eclipse.uml2.uml.MultiplicityElementpublic void setLower(int value)
setLower in interface org.eclipse.uml2.uml.MultiplicityElementpublic org.eclipse.uml2.uml.ValueSpecification getUpperValue()
getUpperValue in interface org.eclipse.uml2.uml.MultiplicityElementpublic void setUpperValue(org.eclipse.uml2.uml.ValueSpecification value)
setUpperValue in interface org.eclipse.uml2.uml.MultiplicityElementpublic org.eclipse.uml2.uml.ValueSpecification createUpperValue(String name, org.eclipse.uml2.uml.Type type, org.eclipse.emf.ecore.EClass eClass)
createUpperValue in interface org.eclipse.uml2.uml.MultiplicityElementpublic org.eclipse.uml2.uml.ValueSpecification getLowerValue()
getLowerValue in interface org.eclipse.uml2.uml.MultiplicityElementpublic void setLowerValue(org.eclipse.uml2.uml.ValueSpecification value)
setLowerValue in interface org.eclipse.uml2.uml.MultiplicityElementpublic org.eclipse.uml2.uml.ValueSpecification createLowerValue(String name, org.eclipse.uml2.uml.Type type, org.eclipse.emf.ecore.EClass eClass)
createLowerValue in interface org.eclipse.uml2.uml.MultiplicityElementpublic boolean validateLowerGe0(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
validateLowerGe0 in interface org.eclipse.uml2.uml.MultiplicityElementpublic boolean validateUpperGeLower(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
validateUpperGeLower in interface org.eclipse.uml2.uml.MultiplicityElementpublic boolean validateValueSpecificationNoSideEffects(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
validateValueSpecificationNoSideEffects in interface org.eclipse.uml2.uml.MultiplicityElementpublic boolean validateValueSpecificationConstant(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
validateValueSpecificationConstant in interface org.eclipse.uml2.uml.MultiplicityElementpublic boolean validateLowerIsInteger(org.eclipse.emf.common.util.DiagnosticChain diagnosticChain,
Map<Object,Object> objectObjectMap)
validateLowerIsInteger in interface org.eclipse.uml2.uml.MultiplicityElementpublic boolean validateUpperIsUnlimitedNatural(org.eclipse.emf.common.util.DiagnosticChain diagnosticChain,
Map<Object,Object> objectObjectMap)
validateUpperIsUnlimitedNatural in interface org.eclipse.uml2.uml.MultiplicityElementpublic boolean isMultivalued()
isMultivalued in interface org.eclipse.uml2.uml.MultiplicityElementpublic boolean includesMultiplicity(org.eclipse.uml2.uml.MultiplicityElement M)
includesMultiplicity in interface org.eclipse.uml2.uml.MultiplicityElementpublic int lowerBound()
lowerBound in interface org.eclipse.uml2.uml.MultiplicityElementpublic int upperBound()
upperBound in interface org.eclipse.uml2.uml.MultiplicityElementpublic boolean compatibleWith(org.eclipse.uml2.uml.MultiplicityElement other)
compatibleWith in interface org.eclipse.uml2.uml.MultiplicityElementpublic boolean is(int lowerbound,
int upperbound)
is in interface org.eclipse.uml2.uml.MultiplicityElementCopyright © 2017. All rights reserved.