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