Interface ObjectModelClass

    • Method Detail

      • getSuperclasses

        Collection<ObjectModelClass> getSuperclasses()
        Returns all parent classes for this class.
        Returns:
        a Collection containing all parent ObjectModelClass for this class.
      • getInnerClassifiers

        Collection<ObjectModelClassifier> getInnerClassifiers()
        Returns all inner classes for this class.
        Returns:
        a Collection containing all inner ObjectModelClass for this class.
      • getDiscriminator

        String getDiscriminator​(ObjectModelClass superclass)
        Returns the discriminator for the given superclass. (name of the inheritance relation).
        Parameters:
        superclass - super class to get discriminator
        Returns:
        the discriminator for the given superclass as a String if it exists, null otherwise.
      • getSpecialisations

        Collection<ObjectModelClass> getSpecialisations()
        Returns all known direct specialized classes for this class.
        Returns:
        a Collection containing all known direct specialized ObjectModelClass for this class.
      • getSpecialisations

        Collection<ObjectModelClass> getSpecialisations​(String discriminator)
        Returns all known direct specialized classes for this class for the specified discriminator.
        Parameters:
        discriminator - discriminator to get specialisations
        Returns:
        a Collection containing all known direct specialized ObjectModelClass for this class for the specified discriminator.
      • isAbstract

        boolean isAbstract()
        Returns whether this class is abstract or not.
        Returns:
        a boolean indicating whether this class is abstract or not.
      • getAllSuperclassOperations

        Collection<ObjectModelOperation> getAllSuperclassOperations​(boolean distinct)
        Returns all operations defined on all Super class extended by this classifier, directly or indirectly. and all interface implemented by the super class.
        Parameters:
        distinct - if this boolean is true only distinct operation are add to list.
        Returns:
        a Collection of ObjectModelOperation