Class YComposedType.YModelConstructor

    • Method Detail

      • hasSameSignature

        public boolean hasSameSignature​(YComposedType.YModelConstructor constructor)
        Returns true if the given YModelConstructor constructor has the same used attribute types in the same order as the current one. This will lead to a compile error!
        Parameters:
        constructor - another YModelConstructor
        Returns:
        false if they are different.
      • hasSameAttributeQualifier

        public boolean hasSameAttributeQualifier​(YComposedType.YModelConstructor cosntructor)
        Returns true if the given YModelConstructor constructor has the same attribute qualifiers (names) as this one.
        Parameters:
        cosntructor - another YModelConstructor
        Returns:
        false if they are different.
      • toString

        public java.lang.String toString()
        returns the constructor signature with the composedtype and each attribute qualifier and the attribute type
        Overrides:
        toString in class YNameSpaceElement
      • getLocationOfDefinition

        public java.lang.String getLocationOfDefinition()
        Returns:
        the information as String where this constructor was defined in the *-items.xml file
      • getConstructorParameters

        public java.util.List<YAttributeDescriptor> getConstructorParameters()
        Returns:
        a list with YAttributeDescriptor.