Interface Interface
-
- All Superinterfaces:
BaseElement,Classifier,java.lang.Cloneable,java.lang.Comparable,Element,org.eclipse.emf.ecore.EObject,MDObject,ModelObject,NamedElement,Namespace,org.eclipse.emf.common.notify.Notifier,PackageableElement,ParameterableElement,RedefinableElement,javax.jmi.reflect.RefBaseObject,javax.jmi.reflect.RefFeatured,javax.jmi.reflect.RefObject,TemplateableElement,Type
public interface Interface extends Classifier
A representation of the model object 'Interface'.Interfaces declare coherent services that are implemented by BehavioredClassifiers that implement the Interfaces via InterfaceRealizations.
The following features are supported:
- See Also:
UMLPackage.getInterface()- Model:
- annotation="MOF package='classes.mdinterfaces'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<Interface>get_interfaceOfRedefinedInterface()Returns the value of the 'interface Of Redefined Interface' reference list.java.util.Collection<InterfaceRealization>get_interfaceRealizationOfContract()Returns the value of the 'interface Realization Of Contract' reference list.java.util.List<Classifier>getNestedClassifier()Returns the value of the 'Nested Classifier' containment reference list.java.util.List<Property>getOwnedAttribute()Returns the value of the 'Owned Attribute' containment reference list.java.util.List<Operation>getOwnedOperation()Returns the value of the 'Owned Operation' containment reference list.java.util.Collection<Reception>getOwnedReception()Returns the value of the 'Owned Reception' containment reference list.ProtocolStateMachinegetProtocol()Returns the value of the 'Protocol' containment reference.java.util.Collection<Interface>getRedefinedInterface()Returns the value of the 'Redefined Interface' reference list.booleanhas_interfaceOfRedefinedInterface()booleanhas_interfaceRealizationOfContract()booleanhasNestedClassifier()booleanhasOwnedAttribute()booleanhasOwnedOperation()booleanhasOwnedReception()booleanhasRedefinedInterface()voidsetProtocol(ProtocolStateMachine value)Sets the value of the 'Protocol' containment reference.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier
get_classifierOfRedefinedClassifier, get_classifierTemplateParameterOfConstrainingClassifier, get_componentRealizationOfRealizingClassifier, get_createObjectActionOfClassifier, get_exceptionHandlerOfExceptionType, get_generalizationOfGeneral, get_informationFlowOfConveyed, get_informationItemOfRepresented, get_instanceSpecificationOfClassifier, get_interfaceOfNestedClassifier, get_readExtentActionOfClassifier, get_readIsClassifiedObjectActionOfClassifier, get_reclassifyObjectActionOfNewClassifier, get_reclassifyObjectActionOfOldClassifier, get_redefinableElementOfRedefinitionContext, get_substitutionOfContract, get_unmarshallActionOfUnmarshallType, getAttribute, getCollaborationUse, getFeature, getGeneral, getGeneralization, getInheritedMember, getOwnedTemplateSignature, getOwnedUseCase, getPowertypeExtent, getRedefinedClassifier, getRepresentation, getSubstitution, getTemplateParameter, getUMLClass, getUseCase, has_classifierOfRedefinedClassifier, has_classifierTemplateParameterOfConstrainingClassifier, has_componentRealizationOfRealizingClassifier, has_createObjectActionOfClassifier, has_exceptionHandlerOfExceptionType, has_generalizationOfGeneral, has_informationFlowOfConveyed, has_informationItemOfRepresented, has_instanceSpecificationOfClassifier, has_readExtentActionOfClassifier, has_readIsClassifiedObjectActionOfClassifier, has_reclassifyObjectActionOfNewClassifier, has_reclassifyObjectActionOfOldClassifier, has_redefinableElementOfRedefinitionContext, has_substitutionOfContract, has_unmarshallActionOfUnmarshallType, hasAttribute, hasCollaborationUse, hasFeature, hasGeneral, hasGeneralization, hasInheritedMember, hasOwnedUseCase, hasPowertypeExtent, hasRedefinedClassifier, hasSubstitution, hasUseCase, isAbstract, isFinalSpecialization, set_interfaceOfNestedClassifier, setAbstract, setFinalSpecialization, setOwnedTemplateSignature, setRepresentation, setTemplateParameter, setUMLClass
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
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 com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
-
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.TemplateableElement
getTemplateBinding, hasTemplateBinding, setOwnedTemplateSignature
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Type
get_associationOfEndType, get_behavioralFeatureOfRaisedException, get_operationOfRaisedException, get_typedElementOfType, getPackage, has_associationOfEndType, has_behavioralFeatureOfRaisedException, has_operationOfRaisedException, has_typedElementOfType, setPackage
-
-
-
-
Method Detail
-
get_interfaceRealizationOfContract
java.util.Collection<InterfaceRealization> get_interfaceRealizationOfContract()
Returns the value of the 'interface Realization Of Contract' reference list. The list contents are of typeInterfaceRealization. It is bidirectional and its opposite is 'Contract'.If the meaning of the 'interface Realization Of Contract' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'interface Realization Of Contract' reference list.
- See Also:
UMLPackage.getInterface__interfaceRealizationOfContract(),InterfaceRealization.getContract()- Model:
- opposite="contract" ordered="false"
- Generated:
-
getOwnedAttribute
java.util.List<Property> getOwnedAttribute()
Returns the value of the 'Owned Attribute' containment reference list. The list contents are of typeProperty. It is bidirectional and its opposite is 'Interface'. The attributes (i.e., the Properties) owned by the Interface.- Returns:
- the value of the 'Owned Attribute' containment reference list.
- See Also:
UMLPackage.getInterface_OwnedAttribute(),Property.getInterface()- Model:
- opposite="interface" containment="true" resolveProxies="true"
- Generated:
-
getOwnedOperation
java.util.List<Operation> getOwnedOperation()
Returns the value of the 'Owned Operation' containment reference list. The list contents are of typeOperation. It is bidirectional and its opposite is 'Interface'. The Operations owned by the Interface.- Returns:
- the value of the 'Owned Operation' containment reference list.
- See Also:
UMLPackage.getInterface_OwnedOperation(),Operation.getInterface()- Model:
- opposite="interface" containment="true" resolveProxies="true"
- Generated:
-
getNestedClassifier
java.util.List<Classifier> getNestedClassifier()
Returns the value of the 'Nested Classifier' containment reference list. The list contents are of typeClassifier. It is bidirectional and its opposite is 'interface Of Nested Classifier'. References all the Classifiers that are defined (nested) within the Interface.- Returns:
- the value of the 'Nested Classifier' containment reference list.
- See Also:
UMLPackage.getInterface_NestedClassifier(),Classifier.get_interfaceOfNestedClassifier()- Model:
- opposite="_interfaceOfNestedClassifier" containment="true" resolveProxies="true"
- Generated:
-
getRedefinedInterface
java.util.Collection<Interface> getRedefinedInterface()
Returns the value of the 'Redefined Interface' reference list. The list contents are of typeInterface. It is bidirectional and its opposite is 'interface Of Redefined Interface'. References all the Interfaces redefined by this Interface.- Returns:
- the value of the 'Redefined Interface' reference list.
- See Also:
UMLPackage.getInterface_RedefinedInterface(),get_interfaceOfRedefinedInterface()- Model:
- opposite="_interfaceOfRedefinedInterface" ordered="false"
- Generated:
-
get_interfaceOfRedefinedInterface
java.util.Collection<Interface> get_interfaceOfRedefinedInterface()
Returns the value of the 'interface Of Redefined Interface' reference list. The list contents are of typeInterface. It is bidirectional and its opposite is 'Redefined Interface'.If the meaning of the 'interface Of Redefined Interface' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'interface Of Redefined Interface' reference list.
- See Also:
UMLPackage.getInterface__interfaceOfRedefinedInterface(),getRedefinedInterface()- Model:
- opposite="redefinedInterface" ordered="false"
- Generated:
-
getOwnedReception
java.util.Collection<Reception> getOwnedReception()
Returns the value of the 'Owned Reception' containment reference list. The list contents are of typeReception. It is bidirectional and its opposite is 'interface Of Owned Reception'. Receptions that objects providing this Interface are willing to accept.- Returns:
- the value of the 'Owned Reception' containment reference list.
- See Also:
UMLPackage.getInterface_OwnedReception(),Reception.get_interfaceOfOwnedReception()- Model:
- opposite="_interfaceOfOwnedReception" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getProtocol
@CheckForNull ProtocolStateMachine getProtocol()
Returns the value of the 'Protocol' containment reference. It is bidirectional and its opposite is 'Interface'. References a ProtocolStateMachine specifying the legal sequences of the invocation of the BehavioralFeatures described in the Interface.- Returns:
- the value of the 'Protocol' containment reference.
- See Also:
setProtocol(ProtocolStateMachine),UMLPackage.getInterface_Protocol(),ProtocolStateMachine.getInterface()- Model:
- opposite="interface" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setProtocol
void setProtocol(@CheckForNull ProtocolStateMachine value)Sets the value of the 'Protocol' containment reference.- Parameters:
value- the new value of the 'Protocol' containment reference.- See Also:
getProtocol()- Generated:
-
has_interfaceRealizationOfContract
boolean has_interfaceRealizationOfContract() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasOwnedAttribute
boolean hasOwnedAttribute() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasOwnedOperation
boolean hasOwnedOperation() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasNestedClassifier
boolean hasNestedClassifier() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasRedefinedInterface
boolean hasRedefinedInterface() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
has_interfaceOfRedefinedInterface
boolean has_interfaceOfRedefinedInterface() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasOwnedReception
boolean hasOwnedReception() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
-