|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StructuredClassifier
A representation of the model object 'Structured Classifier'. A structured classifier is an abstract metaclass that represents any classifier whose behavior can be fully or partly described by the collaboration of owned or referenced instances.
The following features are supported:
UMLPackage.getStructuredClassifier()
Method Summary | |
---|---|
Property |
createOwnedAttribute(java.lang.String name,
Type type)
Creates a new Property , with the specified 'Name', and 'Type', and appends it to the 'Owned Attribute' containment reference list |
Property |
createOwnedAttribute(java.lang.String name,
Type type,
org.eclipse.emf.ecore.EClass eClass)
Creates a new Property , with the specified 'Name', and 'Type', and appends it to the 'Owned Attribute' containment reference list |
Property |
createOwnedAttribute(java.lang.String name,
Type type,
int lower,
int upper)
Creates a property with the specified name, type, lower bound, and upper bound as an owned attribute of this structured classifier. |
Connector |
createOwnedConnector(java.lang.String name)
Creates a new Connector , with the specified 'Name', and appends it to the 'Owned Connector' containment reference list |
Property |
getOwnedAttribute(java.lang.String name,
Type type)
Retrieves the first Property with the specified 'Name', and 'Type' from the 'Owned Attribute' containment reference list |
Property |
getOwnedAttribute(java.lang.String name,
Type type,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first Property with the specified 'Name', and 'Type' from the 'Owned Attribute' containment reference list |
org.eclipse.emf.common.util.EList<Property> |
getOwnedAttributes()
Returns the value of the 'Owned Attribute' containment reference list. |
Connector |
getOwnedConnector(java.lang.String name)
Retrieves the first Connector with the specified 'Name' from the 'Owned Connector' containment reference list |
Connector |
getOwnedConnector(java.lang.String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first Connector with the specified 'Name' from the 'Owned Connector' containment reference list |
org.eclipse.emf.common.util.EList<Connector> |
getOwnedConnectors()
Returns the value of the 'Owned Connector' containment reference list. |
Property |
getPart(java.lang.String name,
Type type)
Retrieves the first Property with the specified 'Name', and 'Type' from the 'Part' reference list |
Property |
getPart(java.lang.String name,
Type type,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first Property with the specified 'Name', and 'Type' from the 'Part' reference list |
org.eclipse.emf.common.util.EList<Property> |
getParts()
Returns the value of the 'Part' reference list. |
ConnectableElement |
getRole(java.lang.String name,
Type type)
Retrieves the first ConnectableElement with the specified 'Name', and 'Type' from the 'Role' reference list |
ConnectableElement |
getRole(java.lang.String name,
Type type,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first ConnectableElement with the specified 'Name', and 'Type' from the 'Role' reference list |
org.eclipse.emf.common.util.EList<ConnectableElement> |
getRoles()
Returns the value of the 'Role' reference list. |
boolean |
validateMultiplicities(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The multiplicities on connected elements must be consistent. |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.RedefinableElement |
---|
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.Type |
---|
conformsTo, createAssociation, getAssociations, getPackage, setPackage |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
---|
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.uml.TemplateableElement |
---|
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature |
Method Detail |
---|
org.eclipse.emf.common.util.EList<Property> getOwnedAttributes()
Property
.
This feature subsets the following features:
Role
'Owned Member
'Attribute
'
UMLPackage.getStructuredClassifier_OwnedAttribute()
Property createOwnedAttribute(java.lang.String name, Type type, org.eclipse.emf.ecore.EClass eClass)
Property
, with the specified 'Name', and 'Type', and appends it to the 'Owned Attribute' containment reference list.
name
- The 'Name' for the new Property
, or null
.type
- The 'Type' for the new Property
, or null
.eClass
- The Ecore class of the Property
to create.
Property
.getOwnedAttributes()
Property createOwnedAttribute(java.lang.String name, Type type)
Property
, with the specified 'Name', and 'Type', and appends it to the 'Owned Attribute' containment reference list.
name
- The 'Name' for the new Property
, or null
.type
- The 'Type' for the new Property
, or null
.
Property
.getOwnedAttributes()
Property getOwnedAttribute(java.lang.String name, Type type)
Property
with the specified 'Name', and 'Type' from the 'Owned Attribute' containment reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.
Property
with the specified 'Name', and 'Type', or null
.getOwnedAttributes()
Property getOwnedAttribute(java.lang.String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Property
with the specified 'Name', and 'Type' from the 'Owned Attribute' containment reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Property
to retrieve, or null
.createOnDemand
- Whether to create a Property
on demand if not found.
Property
with the specified 'Name', and 'Type', or null
.getOwnedAttributes()
org.eclipse.emf.common.util.EList<Property> getParts()
Property
.
References the properties specifying instances that the classifier owns by composition. This association is derived, selecting those owned properties where isComposite is true.
UMLPackage.getStructuredClassifier_Part()
Property getPart(java.lang.String name, Type type)
Property
with the specified 'Name', and 'Type' from the 'Part' reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.
Property
with the specified 'Name', and 'Type', or null
.getParts()
Property getPart(java.lang.String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Property
with the specified 'Name', and 'Type' from the 'Part' reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Property
to retrieve, or null
.
Property
with the specified 'Name', and 'Type', or null
.getParts()
org.eclipse.emf.common.util.EList<ConnectableElement> getRoles()
ConnectableElement
.
This feature subsets the following features:
Member
'
UMLPackage.getStructuredClassifier_Role()
ConnectableElement getRole(java.lang.String name, Type type)
ConnectableElement
with the specified 'Name', and 'Type' from the 'Role' reference list.
name
- The 'Name' of the ConnectableElement
to retrieve, or null
.type
- The 'Type' of the ConnectableElement
to retrieve, or null
.
ConnectableElement
with the specified 'Name', and 'Type', or null
.getRoles()
ConnectableElement getRole(java.lang.String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
ConnectableElement
with the specified 'Name', and 'Type' from the 'Role' reference list.
name
- The 'Name' of the ConnectableElement
to retrieve, or null
.type
- The 'Type' of the ConnectableElement
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ConnectableElement
to retrieve, or null
.
ConnectableElement
with the specified 'Name', and 'Type', or null
.getRoles()
org.eclipse.emf.common.util.EList<Connector> getOwnedConnectors()
Connector
.
This feature subsets the following features:
Feature
'Owned Member
'
UMLPackage.getStructuredClassifier_OwnedConnector()
Connector createOwnedConnector(java.lang.String name)
Connector
, with the specified 'Name', and appends it to the 'Owned Connector' containment reference list.
name
- The 'Name' for the new Connector
, or null
.
Connector
.getOwnedConnectors()
Connector getOwnedConnector(java.lang.String name)
Connector
with the specified 'Name' from the 'Owned Connector' containment reference list.
name
- The 'Name' of the Connector
to retrieve, or null
.
Connector
with the specified 'Name', or null
.getOwnedConnectors()
Connector getOwnedConnector(java.lang.String name, boolean ignoreCase, boolean createOnDemand)
Connector
with the specified 'Name' from the 'Owned Connector' containment reference list.
name
- The 'Name' of the Connector
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Connector
on demand if not found.
Connector
with the specified 'Name', or null
.getOwnedConnectors()
boolean validateMultiplicities(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
Property createOwnedAttribute(java.lang.String name, Type type, int lower, int upper)
name
- The name for the new attribute, or null.type
- The type for the new attribute, or null.lower
- The lower bound for the new attribute.upper
- The upper bound for the new attribute.
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |