Class YComposedType.YModelConstructor

java.lang.Object
de.hybris.bootstrap.typesystem.YNameSpaceElement
de.hybris.bootstrap.typesystem.YComposedType.YModelConstructor
Enclosing class:
YComposedType

public static class YComposedType.YModelConstructor extends YNameSpaceElement
This is a model constructor object.
  • Constructor Details

  • Method Details

    • 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 String toString()
      returns the constructor signature with the composedtype and each attribute qualifier and the attribute type
      Overrides:
      toString in class YNameSpaceElement
    • getLocationOfDefinition

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

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