public interface Interface extends Classifier, AttributeOwner, OperationOwner
UMLPackage.getInterface()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Classifier |
createNestedClassifier(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
Classifier , with the specified 'Name', and appends it to the 'Nested Classifier' containment reference list |
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 interface.
|
Operation |
createOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames,
org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Creates a new
Operation , with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', and appends it to the 'Owned Operation' containment reference list |
Operation |
createOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> parameterNames,
org.eclipse.emf.common.util.EList<Type> parameterTypes,
Type returnType)
Creates an operation with the specified name, parameter names, parameter types, and return type (or null) as an owned operation of this interface.
|
Reception |
createOwnedReception(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames,
org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Creates a new
Reception , with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', and appends it to the 'Owned Reception' containment reference list |
ProtocolStateMachine |
createProtocol(java.lang.String name)
Creates a new
ProtocolStateMachine ,with the specified 'Name', and sets the 'Protocol' containment reference |
Classifier |
getNestedClassifier(java.lang.String name)
Retrieves the first
Classifier with the specified 'Name' from the 'Nested Classifier' containment reference list |
Classifier |
getNestedClassifier(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
Classifier with the specified 'Name' from the 'Nested Classifier' containment reference list |
org.eclipse.emf.common.util.EList<Classifier> |
getNestedClassifiers()
Returns the value of the 'Nested Classifier' 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.
|
Operation |
getOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames,
org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Retrieves the first
Operation with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list |
Operation |
getOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames,
org.eclipse.emf.common.util.EList<Type> ownedParameterTypes,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Operation with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list |
org.eclipse.emf.common.util.EList<Operation> |
getOwnedOperations()
Returns the value of the 'Owned Operation' containment reference list.
|
Reception |
getOwnedReception(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames,
org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Retrieves the first
Reception with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Reception' containment reference list |
Reception |
getOwnedReception(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames,
org.eclipse.emf.common.util.EList<Type> ownedParameterTypes,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Reception with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Reception' containment reference list |
org.eclipse.emf.common.util.EList<Reception> |
getOwnedReceptions()
Returns the value of the 'Owned Reception' containment reference list.
|
ProtocolStateMachine |
getProtocol()
Returns the value of the 'Protocol' containment reference.
|
Interface |
getRedefinedInterface(java.lang.String name)
Retrieves the first
Interface with the specified 'Name' from the 'Redefined Interface' reference list |
Interface |
getRedefinedInterface(java.lang.String name,
boolean ignoreCase)
Retrieves the first
Interface with the specified 'Name' from the 'Redefined Interface' reference list |
org.eclipse.emf.common.util.EList<Interface> |
getRedefinedInterfaces()
Returns the value of the 'Redefined Interface' reference list.
|
void |
setProtocol(ProtocolStateMachine value)
Sets the value of the '
Protocol ' containment reference |
boolean |
validateVisibility(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The visibility of all Features owned by an Interface must be public.
|
allAttributes, allFeatures, allParents, allRealizedInterfaces, allSlottableFeatures, allUsedInterfaces, createCollaborationUse, createGeneralization, createOwnedUseCase, createRepresentation, createSubstitution, directlyRealizedInterfaces, directlyUsedInterfaces, getAllAttributes, getAllOperations, getAllUsedInterfaces, getAttribute, getAttribute, getAttributes, getCollaborationUse, getCollaborationUse, getCollaborationUses, getFeature, getFeature, getFeatures, getGeneral, getGeneral, getGeneralization, getGeneralization, getGeneralizations, getGenerals, getInheritedMember, getInheritedMember, getInheritedMembers, getOperation, getOperation, getOperations, getOwnedUseCase, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifier, getRedefinedClassifiers, getRepresentation, getSubstitution, getSubstitution, getSubstitutions, getUseCase, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inherit, inheritableMembers, isAbstract, isFinalSpecialization, isSubstitutableFor, maySpecializeType, parents, setIsAbstract, setIsFinalSpecialization, setRepresentation, validateMapsToGeneralizationSet, validateNoCyclesInGeneralization, validateNonFinalParents, validateSpecializeType
createElementImport, createElementImport, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImport, getElementImport, getElementImports, getImportedElements, getImportedMember, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMember, getMembers, getNamesOfMember, getOwnedMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRule, getOwnedRules, getPackageImport, getPackageImport, getPackageImports, importMembers, membersAreDistinguishable, validateCannotImportOwnedMembers, validateCannotImportSelf, validateMembersDistinguishable
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValid
conformsTo, createAssociation, getAssociations, getPackage, setPackage
validateNamespaceNeedsVisibility
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature
org.eclipse.emf.common.util.EList<Property> getOwnedAttributes()
Property
.
It is bidirectional and its opposite is 'Interface
'.
This feature subsets the following features:
The attributes (i.e., the Properties) owned by the Interface.From package UML::SimpleClassifiers.
getOwnedAttributes
in interface AttributeOwner
UMLPackage.getInterface_OwnedAttribute()
,
Property.getInterface()
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.
createOwnedAttribute
in interface AttributeOwner
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.
createOwnedAttribute
in interface AttributeOwner
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.
getOwnedAttribute
in interface AttributeOwner
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.
getOwnedAttribute
in interface AttributeOwner
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<Classifier> getNestedClassifiers()
Classifier
.
This feature subsets the following features:
References all the Classifiers that are defined (nested) within the Interface.From package UML::SimpleClassifiers.
UMLPackage.getInterface_NestedClassifier()
Classifier createNestedClassifier(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
Classifier
, with the specified 'Name', and appends it to the 'Nested Classifier' containment reference list.
name
- The 'Name' for the new Classifier
, or null
.eClass
- The Ecore class of the Classifier
to create.Classifier
.getNestedClassifiers()
Classifier getNestedClassifier(java.lang.String name)
Classifier
with the specified 'Name' from the 'Nested Classifier' containment reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.Classifier
with the specified 'Name', or null
.getNestedClassifiers()
Classifier getNestedClassifier(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Classifier
with the specified 'Name' from the 'Nested Classifier' containment reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Classifier
to retrieve, or null
.createOnDemand
- Whether to create a Classifier
on demand if not found.Classifier
with the specified 'Name', or null
.getNestedClassifiers()
org.eclipse.emf.common.util.EList<Interface> getRedefinedInterfaces()
Interface
.
This feature subsets the following features:
References all the Interfaces redefined by this Interface.From package UML::SimpleClassifiers.
UMLPackage.getInterface_RedefinedInterface()
Interface getRedefinedInterface(java.lang.String name)
Interface
with the specified 'Name' from the 'Redefined Interface' reference list.
name
- The 'Name' of the Interface
to retrieve, or null
.Interface
with the specified 'Name', or null
.getRedefinedInterfaces()
Interface getRedefinedInterface(java.lang.String name, boolean ignoreCase)
Interface
with the specified 'Name' from the 'Redefined Interface' reference list.
name
- The 'Name' of the Interface
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.Interface
with the specified 'Name', or null
.getRedefinedInterfaces()
org.eclipse.emf.common.util.EList<Reception> getOwnedReceptions()
Reception
.
This feature subsets the following features:
Feature
'Owned Member
'From package UML::SimpleClassifiers.
UMLPackage.getInterface_OwnedReception()
Reception createOwnedReception(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames, org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Reception
, with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', and appends it to the 'Owned Reception' containment reference list.
name
- The 'Name' for the new Reception
, or null
.ownedParameterNames
- The 'Owned Parameter Names' for the new Reception
, or null
.ownedParameterTypes
- The 'Owned Parameter Types' for the new Reception
, or null
.Reception
.getOwnedReceptions()
Reception getOwnedReception(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames, org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Reception
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Reception' containment reference list.
name
- The 'Name' of the Reception
to retrieve, or null
.ownedParameterNames
- The 'Owned Parameter Names' of the Reception
to retrieve, or null
.ownedParameterTypes
- The 'Owned Parameter Types' of the Reception
to retrieve, or null
.Reception
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', or null
.getOwnedReceptions()
Reception getOwnedReception(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames, org.eclipse.emf.common.util.EList<Type> ownedParameterTypes, boolean ignoreCase, boolean createOnDemand)
Reception
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Reception' containment reference list.
name
- The 'Name' of the Reception
to retrieve, or null
.ownedParameterNames
- The 'Owned Parameter Names' of the Reception
to retrieve, or null
.ownedParameterTypes
- The 'Owned Parameter Types' of the Reception
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Reception
on demand if not found.Reception
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', or null
.getOwnedReceptions()
ProtocolStateMachine getProtocol()
This feature subsets the following features:
References a ProtocolStateMachine specifying the legal sequences of the invocation of the BehavioralFeatures described in the Interface.From package UML::SimpleClassifiers.
setProtocol(ProtocolStateMachine)
,
UMLPackage.getInterface_Protocol()
void setProtocol(ProtocolStateMachine value)
Protocol
' containment reference.
value
- the new value of the 'Protocol' containment reference.getProtocol()
ProtocolStateMachine createProtocol(java.lang.String name)
ProtocolStateMachine
,with the specified 'Name', and sets the 'Protocol' containment reference.
name
- The 'Name' for the new ProtocolStateMachine
, or null
.ProtocolStateMachine
.getProtocol()
org.eclipse.emf.common.util.EList<Operation> getOwnedOperations()
Operation
.
It is bidirectional and its opposite is 'Interface
'.
This feature subsets the following features:
Feature
'Owned Member
'From package UML::SimpleClassifiers.
getOwnedOperations
in interface OperationOwner
UMLPackage.getInterface_OwnedOperation()
,
Operation.getInterface()
Operation createOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames, org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Operation
, with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', and appends it to the 'Owned Operation' containment reference list.
createOwnedOperation
in interface OperationOwner
name
- The 'Name' for the new Operation
, or null
.ownedParameterNames
- The 'Owned Parameter Names' for the new Operation
, or null
.ownedParameterTypes
- The 'Owned Parameter Types' for the new Operation
, or null
.Operation
.getOwnedOperations()
Operation getOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames, org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Operation
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list.
getOwnedOperation
in interface OperationOwner
name
- The 'Name' of the Operation
to retrieve, or null
.ownedParameterNames
- The 'Owned Parameter Names' of the Operation
to retrieve, or null
.ownedParameterTypes
- The 'Owned Parameter Types' of the Operation
to retrieve, or null
.Operation
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', or null
.getOwnedOperations()
Operation getOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames, org.eclipse.emf.common.util.EList<Type> ownedParameterTypes, boolean ignoreCase, boolean createOnDemand)
Operation
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list.
getOwnedOperation
in interface OperationOwner
name
- The 'Name' of the Operation
to retrieve, or null
.ownedParameterNames
- The 'Owned Parameter Names' of the Operation
to retrieve, or null
.ownedParameterTypes
- The 'Owned Parameter Types' of the Operation
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Operation
on demand if not found.Operation
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', or null
.getOwnedOperations()
boolean validateVisibility(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.
Operation createOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> parameterNames, org.eclipse.emf.common.util.EList<Type> parameterTypes, Type returnType)
createOwnedOperation
in interface OperationOwner
name
- The name for the new operation, or null.parameterNames
- The parameter names for the new operation, or null.parameterTypes
- The parameter types for the new operation, or null.returnType
- The return type for the new operation, or null.
OperationOwner.createOwnedOperation(String, EList, EList)
,
OperationOwner.getOwnedOperation(String, EList, EList)
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.