public class ObjectInstanceImpl extends Object implements ObjectInstance
Modifier and Type | Field and Description |
---|---|
(package private) InstanceSpecification |
instanceSpecification |
SEPARATOR
Constructor and Description |
---|
ObjectInstanceImpl(InstanceSpecification instanceSpecification) |
final InstanceSpecification instanceSpecification
ObjectInstanceImpl(InstanceSpecification instanceSpecification)
instanceSpecification
- public boolean equals(Object object)
equals
in class Object
Object.equals(Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
public EList<Deployment> getDeployments()
getDeployments
in interface DeploymentTarget
DeploymentTarget.getDeployments()
public Deployment getDeployment(String string, boolean ignoreCase, boolean createOnDemand)
getDeployment
in interface DeploymentTarget
DeploymentTarget.getDeployment(String, boolean, boolean)
public Deployment getDeployment(String string)
getDeployment
in interface DeploymentTarget
DeploymentTarget.getDeployment(String)
public Deployment createDeployment(String name)
createDeployment
in interface DeploymentTarget
DeploymentTarget.createDeployment(String)
public EList<PackageableElement> getDeployedElements()
getDeployedElements
in interface DeploymentTarget
DeploymentTarget.getDeployedElements()
public PackageableElement getDeployedElement(String string)
getDeployedElement
in interface DeploymentTarget
DeploymentTarget.getDeployedElement(String)
public PackageableElement getDeployedElement(String string, boolean bool, EClass eClass)
getDeployedElement
in interface DeploymentTarget
DeploymentTarget.getDeployedElement(String, boolean, org.eclipse.emf.ecore.EClass)
public EList<Slot> getSlots()
getSlots
in interface InstanceSpecification
InstanceSpecification.getSlots()
public Slot createSlot(EClass eClass)
eClass
- public Slot createSlot()
createSlot
in interface InstanceSpecification
InstanceSpecification.createSlot()
public EList<Classifier> getClassifiers()
getClassifiers
in interface InstanceSpecification
InstanceSpecification.getClassifiers()
public Classifier getClassifier(String string)
getClassifier
in interface InstanceSpecification
InstanceSpecification.getClassifier(String)
public Classifier getClassifier(String string, boolean ignoreCase, EClass eClass)
getClassifier
in interface InstanceSpecification
InstanceSpecification.getClassifier(String, boolean, org.eclipse.emf.ecore.EClass)
public ValueSpecification getSpecification()
getSpecification
in interface InstanceSpecification
InstanceSpecification.getSpecification()
public void setSpecification(ValueSpecification valueSpecification)
setSpecification
in interface InstanceSpecification
InstanceSpecification.setSpecification(org.eclipse.uml2.uml.ValueSpecification)
public ValueSpecification createSpecification(EClass eClass)
eClass
- public EList<Dependency> getClientDependencies()
getClientDependencies
in interface NamedElement
NamedElement.getClientDependencies()
public Object eGet(EStructuralFeature eStructuralFeature, boolean resolve)
eGet
in interface EObject
EObject.eGet(org.eclipse.emf.ecore.EStructuralFeature, boolean)
public void eSet(EStructuralFeature eStructuralFeature, Object object)
eSet
in interface EObject
EObject.eSet(org.eclipse.emf.ecore.EStructuralFeature, Object)
public void eUnset(EStructuralFeature eStructuralFeature)
eUnset
in interface EObject
EObject.eUnset(org.eclipse.emf.ecore.EStructuralFeature)
public boolean eIsSet(EStructuralFeature eStructuralFeature)
eIsSet
in interface EObject
EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)
public TemplateParameter getTemplateParameter()
getTemplateParameter
in interface ParameterableElement
ParameterableElement.getTemplateParameter()
public void setTemplateParameter(TemplateParameter templateParameter)
setTemplateParameter
in interface ParameterableElement
ParameterableElement.setTemplateParameter(org.eclipse.uml2.uml.TemplateParameter)
public TemplateParameter getOwningParameter()
public void setOwningParameter(TemplateParameter templateParameter)
templateParameter
- public VisibilityKind getPackageableElement_visibility()
public void setPackageableElement_visibility(VisibilityKind visibilityKind)
visibilityKind
- public VisibilityKind getVisibility()
getVisibility
in interface NamedElement
NamedElement.getVisibility()
public void setVisibility(VisibilityKind visibilityKind)
setVisibility
in interface NamedElement
NamedElement.setVisibility(org.eclipse.uml2.uml.VisibilityKind)
public String getName()
getName
in interface NamedElement
NamedElement.getName()
public void setName(String string)
setName
in interface NamedElement
NamedElement.setName(String)
public String getQualifiedName()
getQualifiedName
in interface NamedElement
NamedElement.getQualifiedName()
public Dependency getClientDependency(String string)
getClientDependency
in interface NamedElement
NamedElement.getClientDependency(String)
public Dependency getClientDependency(String string, boolean ignoreCase, EClass eClass)
getClientDependency
in interface NamedElement
NamedElement.getClientDependency(String, boolean, org.eclipse.emf.ecore.EClass)
public StringExpression getNameExpression()
getNameExpression
in interface NamedElement
NamedElement.getNameExpression()
public void setNameExpression(StringExpression stringExpression)
setNameExpression
in interface NamedElement
NamedElement.setNameExpression(org.eclipse.uml2.uml.StringExpression)
public boolean validateNoName(DiagnosticChain diagnosticChain, Map<Object,Object> map)
diagnosticChain
- map
- public boolean validateHasNoQualifiedName(DiagnosticChain diagnosticChain, Map<Object,Object> map)
validateHasNoQualifiedName
in interface NamedElement
NamedElement.validateHasNoQualifiedName(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
public boolean validateQualifiedName(DiagnosticChain diagnosticChain, Map<Object,Object> map)
diagnosticChain
- map
- public boolean validateHasQualifiedName(DiagnosticChain diagnosticChain, Map<Object,Object> map)
validateHasQualifiedName
in interface NamedElement
NamedElement.validateHasQualifiedName(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
public EList<Namespace> allNamespaces()
allNamespaces
in interface NamedElement
NamedElement.allNamespaces()
public boolean isDistinguishableFrom(NamedElement namedElement, Namespace namespace)
isDistinguishableFrom
in interface NamedElement
NamedElement.isDistinguishableFrom(org.eclipse.uml2.uml.NamedElement, org.eclipse.uml2.uml.Namespace)
public String separator()
separator
in interface NamedElement
NamedElement.separator()
public String qualifiedName()
public boolean validateVisibilityNeedsOwnership(DiagnosticChain diagnosticChain, Map<Object,Object> map)
validateVisibilityNeedsOwnership
in interface NamedElement
NamedElement.validateVisibilityNeedsOwnership(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
public Namespace getNamespace()
getNamespace
in interface NamedElement
NamedElement.getNamespace()
public String getLabel()
getLabel
in interface NamedElement
NamedElement.getLabel()
public String getLabel(boolean localize)
getLabel
in interface NamedElement
NamedElement.getLabel(boolean)
public Dependency createDependency(NamedElement namedElement)
createDependency
in interface NamedElement
NamedElement.createDependency(org.eclipse.uml2.uml.NamedElement)
public EList<Element> getOwnedElements()
getOwnedElements
in interface Element
Element.getOwnedElements()
public Element getOwner()
getOwner
in interface Element
Element.getOwner()
public EList<Comment> getOwnedComments()
getOwnedComments
in interface Element
Element.getOwnedComments()
public Comment createOwnedComment(EClass eClass)
eClass
- public Comment createOwnedComment()
createOwnedComment
in interface Element
Element.createOwnedComment()
public boolean validateNotOwnSelf(DiagnosticChain diagnosticChain, Map<Object,Object> map)
validateNotOwnSelf
in interface Element
Element.validateNotOwnSelf(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
public boolean validateHasOwner(DiagnosticChain diagnosticChain, Map<Object,Object> map)
validateHasOwner
in interface Element
Element.validateHasOwner(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
public EList<Element> allOwnedElements()
allOwnedElements
in interface Element
Element.allOwnedElements()
public boolean mustBeOwned()
mustBeOwned
in interface Element
Element.mustBeOwned()
public EAnnotation createEAnnotation(String string)
createEAnnotation
in interface Element
Element.createEAnnotation(String)
public EObject applyStereotype(Stereotype stereotype)
applyStereotype
in interface Element
Element.applyStereotype(org.eclipse.uml2.uml.Stereotype)
public Stereotype getApplicableStereotype(String string)
getApplicableStereotype
in interface Element
Element.getApplicableStereotype(String)
public EList<Stereotype> getApplicableStereotypes()
getApplicableStereotypes
in interface Element
Element.getApplicableStereotypes()
public Stereotype getAppliedStereotype(String string)
getAppliedStereotype
in interface Element
Element.getAppliedStereotype(String)
public EList<Stereotype> getAppliedStereotypes()
getAppliedStereotypes
in interface Element
Element.getAppliedStereotypes()
public Model getModel()
getModel
in interface Element
Element.getModel()
public Package getNearestPackage()
getNearestPackage
in interface Element
Element.getNearestPackage()
public Object getValue(Stereotype stereotype, String string)
getValue
in interface Element
Element.getValue(org.eclipse.uml2.uml.Stereotype, String)
public boolean isApplied(Stereotype stereotype)
stereotype
- public boolean isRequired(Stereotype stereotype)
stereotype
- public void setValue(Stereotype stereotype, String string, Object object)
setValue
in interface Element
Element.setValue(org.eclipse.uml2.uml.Stereotype, String, Object)
public boolean hasValue(Stereotype stereotype, String string)
hasValue
in interface Element
Element.hasValue(org.eclipse.uml2.uml.Stereotype, String)
public EObject unapplyStereotype(Stereotype stereotype)
unapplyStereotype
in interface Element
Element.unapplyStereotype(org.eclipse.uml2.uml.Stereotype)
public void destroy()
destroy
in interface Element
Element.destroy()
public boolean addKeyword(String string)
addKeyword
in interface Element
Element.addKeyword(String)
public EList<String> getKeywords()
getKeywords
in interface Element
Element.getKeywords()
public boolean hasKeyword(String string)
hasKeyword
in interface Element
Element.hasKeyword(String)
public boolean removeKeyword(String string)
removeKeyword
in interface Element
Element.removeKeyword(String)
public EList<EAnnotation> getEAnnotations()
getEAnnotations
in interface EModelElement
EModelElement.getEAnnotations()
public EAnnotation getEAnnotation(String string)
getEAnnotation
in interface EModelElement
EModelElement.getEAnnotation(String)
public EList<Adapter> eAdapters()
eAdapters
in interface Notifier
Notifier.eAdapters()
public boolean eDeliver()
eDeliver
in interface Notifier
Notifier.eDeliver()
public void eSetDeliver(boolean deliver)
eSetDeliver
in interface Notifier
Notifier.eSetDeliver(boolean)
public boolean eIsProxy()
eIsProxy
in interface EObject
EObject.eIsProxy()
public EClass eClass()
eClass
in interface EObject
EObject.eClass()
public EObject eContainer()
eContainer
in interface EObject
EObject.eContainer()
public EList<EObject> eContents()
eContents
in interface EObject
EObject.eContents()
public EList<EObject> eCrossReferences()
eCrossReferences
in interface EObject
EObject.eCrossReferences()
public TreeIterator<EObject> eAllContents()
eAllContents
in interface EObject
EObject.eAllContents()
public EReference eContainmentFeature()
eContainmentFeature
in interface EObject
EObject.eContainmentFeature()
public EStructuralFeature eContainingFeature()
eContainingFeature
in interface EObject
EObject.eContainingFeature()
public Resource eResource()
eResource
in interface EObject
EObject.eResource()
public Object eGet(EStructuralFeature eStructuralFeature)
eGet
in interface EObject
EObject.eGet(org.eclipse.emf.ecore.EStructuralFeature)
public void eNotify(Notification notification)
eNotify
in interface Notifier
Notifier.eNotify(org.eclipse.emf.common.notify.Notification)
public ValueSpecification createSpecification(String name, Type type, EClass eClass)
createSpecification
in interface InstanceSpecification
InstanceSpecification.createSpecification(String, org.eclipse.uml2.uml.Type, org.eclipse.emf.ecore.EClass)
public boolean validateDefiningFeature(DiagnosticChain diagnostics, Map<Object,Object> context)
validateDefiningFeature
in interface InstanceSpecification
InstanceSpecification.validateDefiningFeature(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
public boolean validateDeploymentArtifact(DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validateDeploymentTarget(DiagnosticChain diagnostics, Map<Object,Object> context)
validateDeploymentTarget
in interface InstanceSpecification
InstanceSpecification.validateDeploymentTarget(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
public boolean validateStructuralFeature(DiagnosticChain diagnostics, Map<Object,Object> context)
public EList<Package> allOwningPackages()
allOwningPackages
in interface NamedElement
NamedElement.allOwningPackages()
public StringExpression createNameExpression(String name, Type type)
createNameExpression
in interface NamedElement
NamedElement.createNameExpression(String, org.eclipse.uml2.uml.Type)
public Usage createUsage(NamedElement supplier)
createUsage
in interface NamedElement
NamedElement.createUsage(org.eclipse.uml2.uml.NamedElement)
public boolean isSetName()
isSetName
in interface NamedElement
NamedElement.isSetName()
public boolean isSetVisibility()
isSetVisibility
in interface NamedElement
NamedElement.isSetVisibility()
public void unsetName()
unsetName
in interface NamedElement
NamedElement.unsetName()
public void unsetVisibility()
unsetVisibility
in interface NamedElement
NamedElement.unsetVisibility()
public Stereotype getAppliedSubstereotype(Stereotype stereotype, String qualifiedName)
getAppliedSubstereotype
in interface Element
Element.getAppliedSubstereotype(org.eclipse.uml2.uml.Stereotype, String)
public EList<Stereotype> getAppliedSubstereotypes(Stereotype stereotype)
getAppliedSubstereotypes
in interface Element
Element.getAppliedSubstereotypes(org.eclipse.uml2.uml.Stereotype)
public EList<Relationship> getRelationships()
getRelationships
in interface Element
Element.getRelationships()
public EList<Relationship> getRelationships(EClass eClass)
getRelationships
in interface Element
Element.getRelationships(org.eclipse.emf.ecore.EClass)
public Stereotype getRequiredStereotype(String qualifiedName)
getRequiredStereotype
in interface Element
Element.getRequiredStereotype(String)
public EList<Stereotype> getRequiredStereotypes()
getRequiredStereotypes
in interface Element
Element.getRequiredStereotypes()
public EList<DirectedRelationship> getSourceDirectedRelationships()
getSourceDirectedRelationships
in interface Element
Element.getSourceDirectedRelationships()
public EList<DirectedRelationship> getSourceDirectedRelationships(EClass eClass)
getSourceDirectedRelationships
in interface Element
Element.getSourceDirectedRelationships(org.eclipse.emf.ecore.EClass)
public EObject getStereotypeApplication(Stereotype stereotype)
getStereotypeApplication
in interface Element
Element.getStereotypeApplication(org.eclipse.uml2.uml.Stereotype)
public EList<EObject> getStereotypeApplications()
getStereotypeApplications
in interface Element
Element.getStereotypeApplications()
public EList<DirectedRelationship> getTargetDirectedRelationships()
getTargetDirectedRelationships
in interface Element
Element.getTargetDirectedRelationships()
public EList<DirectedRelationship> getTargetDirectedRelationships(EClass eClass)
getTargetDirectedRelationships
in interface Element
Element.getTargetDirectedRelationships(org.eclipse.emf.ecore.EClass)
public boolean isStereotypeApplicable(Stereotype stereotype)
isStereotypeApplicable
in interface Element
Element.isStereotypeApplicable(org.eclipse.uml2.uml.Stereotype)
public boolean isStereotypeApplied(Stereotype stereotype)
isStereotypeApplied
in interface Element
Element.isStereotypeApplied(org.eclipse.uml2.uml.Stereotype)
public boolean isStereotypeRequired(Stereotype stereotype)
isStereotypeRequired
in interface Element
Element.isStereotypeRequired(org.eclipse.uml2.uml.Stereotype)
public TemplateParameter getOwningTemplateParameter()
getOwningTemplateParameter
in interface ParameterableElement
ParameterableElement.getOwningTemplateParameter()
public boolean isCompatibleWith(ParameterableElement param)
isCompatibleWith
in interface ParameterableElement
ParameterableElement.isCompatibleWith(org.eclipse.uml2.uml.ParameterableElement)
public boolean isTemplateParameter()
isTemplateParameter
in interface ParameterableElement
ParameterableElement.isTemplateParameter()
public void setOwningTemplateParameter(TemplateParameter value)
setOwningTemplateParameter
in interface ParameterableElement
ParameterableElement.setOwningTemplateParameter(org.eclipse.uml2.uml.TemplateParameter)
public Object eInvoke(EOperation operation, EList<?> arguments) throws InvocationTargetException
eInvoke
in interface EObject
InvocationTargetException
EObject.eInvoke(org.eclipse.emf.ecore.EOperation, org.eclipse.emf.common.util.EList)
public boolean validateNamespaceNeedsVisibility(DiagnosticChain diagnostics, Map<Object,Object> context)
validateNamespaceNeedsVisibility
in interface PackageableElement
PackageableElement.validateNamespaceNeedsVisibility(org.eclipse.emf.common.util.DiagnosticChain, Map)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.