Interface ClassObject

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      AttributeSlot findOrCreateAttributeSlot​(java.lang.String feature)
      Finds an AttributeSlot contained in this ClassObject with the specified feature.
      ContainmentSlot findOrCreateContainmentSlot​(java.lang.String feature)
      Finds a ContainmentSlot contained in this ClassObject with the specified feature.
      ReferenceSlot findOrCreateReferenceSlot​(java.lang.String feature)
      Finds a ReferenceSlot contained in this ClassObject with the specified feature.
      Slot<?> findSlot​(java.lang.String feature)
      Finds a Slot contained in this ClassObject with the specified feature.
      org.eclipse.emf.ecore.EClass getEClass()
      Returns the corresponding EClass in the containing PackageObject's metamodel.
      PackageObject getPackageObject()
      Returns the PackageObject that contains this ClassObject.
      org.eclipse.emf.common.util.EList<Slot<?>> getSlots()
      Returns the value of the 'Slots' containment reference list.
      boolean hasEClass()
      Returns true only if this Slot has a corresponding EClass in the containing PackageObject's metamodel.
      boolean typeCompatibleWith​(org.eclipse.emf.ecore.EClass eClass)
      Indicates whether every Slot contained in this ClassObject is type compatible with some EStructuralFeature contained in eClass
      • 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
    • Method Detail

      • getSlots

        org.eclipse.emf.common.util.EList<Slot<?>> getSlots()
        Returns the value of the 'Slots' containment reference list. The list contents are of type Slot<?>. It is bidirectional and its opposite is 'Owner'.

        If the meaning of the 'Slots' containment reference list isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'Slots' containment reference list.
        See Also:
        HutnPackage.getClassObject_Slots(), Slot.getOwner()
      • findSlot

        Slot<?> findSlot​(java.lang.String feature)
        Finds a Slot contained in this ClassObject with the specified feature. If this ClassObject contains no such Slot, this method returns null. If this ClassObject contains more than one matching Slot, this method returns any one of the matching Slots.
      • findOrCreateAttributeSlot

        AttributeSlot findOrCreateAttributeSlot​(java.lang.String feature)
        Finds an AttributeSlot contained in this ClassObject with the specified feature. If this ClassObject contains no such AttributeSlot, this method returns a new AttributeSlot with the feature specified. If this ClassObject contains more than one matching AttributeSlot, this method returns any one of the matching AttributeSlots.
      • findOrCreateReferenceSlot

        ReferenceSlot findOrCreateReferenceSlot​(java.lang.String feature)
        Finds a ReferenceSlot contained in this ClassObject with the specified feature. If this ClassObject contains no such ReferenceSlot, this method returns a new ReferenceSlot with the feature specified. If this ClassObject contains more than one matching ReferenceSlot, this method returns any one of the matching ReferenceSlots.
      • findOrCreateContainmentSlot

        ContainmentSlot findOrCreateContainmentSlot​(java.lang.String feature)
        Finds a ContainmentSlot contained in this ClassObject with the specified feature. If this ClassObject contains no such ContainmentSlot, this method returns a new ContainmentSlot with the feature specified. If this ClassObject contains more than one matching ContainmentSlot, this method returns any one of the matching ContainmentSlots.
      • getPackageObject

        PackageObject getPackageObject()
        Returns the PackageObject that contains this ClassObject.
      • getEClass

        org.eclipse.emf.ecore.EClass getEClass()
        Returns the corresponding EClass in the containing PackageObject's metamodel.
      • hasEClass

        boolean hasEClass()
        Returns true only if this Slot has a corresponding EClass in the containing PackageObject's metamodel.
      • typeCompatibleWith

        boolean typeCompatibleWith​(org.eclipse.emf.ecore.EClass eClass)
        Indicates whether every Slot contained in this ClassObject is type compatible with some EStructuralFeature contained in eClass