Interface ObjectModelClassifier

    • Method Detail

      • getPackageName

        String getPackageName()
        Returns the package name of this classifier.
        Returns:
        the package name of this classifier.
      • getQualifiedName

        String getQualifiedName()
        Returns the qualified name of this classifier. Class qualified name is composed of the package name and the classifier name.
        Returns:
        the qualified name of this classifier.
      • getInterfaces

        Collection<ObjectModelInterface> getInterfaces()
        Returns all parent interfaces for this classifier.
        Returns:
        a Collection containing all parent ObjectModelInterface for this classifier.
      • getOperations

        Collection<ObjectModelOperation> getOperations​(String name)
        Returns all operations defined on this classifier.
        Parameters:
        name - name of operation should be returned
        Returns:
        a Collection containing all ObjectModelOperation for this classifier.
        See Also:
        ObjectModelOperation
      • getAllInterfaceOperations

        Collection<ObjectModelOperation> getAllInterfaceOperations​(boolean distinct)
        Returns all operations defined on all interfaces implemented by this classifier, directly or indirectly.
        Parameters:
        distinct - if this boolean is true only distinct operation are add to list.
        Returns:
        a Collection of ObjectModelOperation
      • getAllOtherOperations

        Collection<ObjectModelOperation> getAllOtherOperations​(boolean distinct)
        Returns all operations defined on all implemented by this classifier, directly or indirectly. For interface this methode return the same result as getAllInterfaceOperations, for Class this method add all operation of SuperClass.
        Parameters:
        distinct - if this boolean is true only distinct operation are add to list.
        Returns:
        a Collection of ObjectModelOperation
      • getAttribute

        ObjectModelAttribute getAttribute​(String attributeName)
        Returns the attribute corresponding to the given name, or null if the class contains no attribute for this name.
        Parameters:
        attributeName - attribute name
        Returns:
        the ObjectModelAttribute of the found attribute, or null if the class contains no attribute for this name.
      • getAllInterfaceAttributes

        Collection<ObjectModelAttribute> getAllInterfaceAttributes()
        Returns all attributes defined on all interfaces implemented by this classifier, directly or indirectly.
        Returns:
        a Collection of ObjectModelAttribute
      • getAllOtherAttributes

        Collection<ObjectModelAttribute> getAllOtherAttributes()
        Returns all attributes defined on all super class extended by this classifier, directly or indirectly.
        Returns:
        a Collection of ObjectModelAttribute
      • getDependencies

        Collection<ObjectModelDependency> getDependencies()
        Returns all dependencies of this client classifier
        Returns:
        a Collection of ObjectModelDependency
      • getDependency

        ObjectModelDependency getDependency​(String name)
        Return a dependency identifier by her name
        Parameters:
        name - of the dependency
        Returns:
        the dependency
      • isClass

        boolean isClass()
        Returns whether this classifier is a class or not
        Returns:
        a boolean indicating whether this classifier is a class or not.
        See Also:
        ObjectModelClass
      • isInterface

        boolean isInterface()
        Returns whether this classifier is an interface or not
        Returns:
        a boolean indicating whether this classifier is an interface or not.
        See Also:
        ObjectModelInterface
      • isEnum

        boolean isEnum()
        Returns whether this classifier is an enumeration or not
        Returns:
        a boolean indicating whether this classifier is an enumeration or not.
        See Also:
        ObjectModelEnumeration
      • isInner

        boolean isInner()
        Returns whether this class is inner an other class or not.
        Returns:
        a boolean indicating whether this class is inner an other class or not.