Class YRelationEnd

    • Field Detail

      • ITEM_CUSTOM_ORDERING_ATTRIBUTE

        public static final java.lang.String ITEM_CUSTOM_ORDERING_ATTRIBUTE
        See Also:
        Constant Field Values
      • DEFAULT_POSITION_ATTRIBUTE_SUFFIX

        public static final java.lang.String DEFAULT_POSITION_ATTRIBUTE_SUFFIX
        See Also:
        Constant Field Values
    • Constructor Detail

      • YRelationEnd

        public YRelationEnd​(YNamespace container,
                            java.lang.String relationCode,
                            java.lang.String role,
                            java.lang.String typeCode,
                            boolean navigable,
                            boolean isSource)
    • Method Detail

      • validate

        public void validate()
        Description copied from class: YNameSpaceElement
        Validates the element. This should check whether or not lazy references can be resolved or any data is missing.
        Overrides:
        validate in class YDescriptor
      • getRole

        public java.lang.String getRole()
      • isSource

        public boolean isSource()
      • getRelationCode

        public java.lang.String getRelationCode()
      • getRelation

        public YRelation getRelation()
      • mappedAttributeDoesntExist

        public boolean mappedAttributeDoesntExist()
      • hasConditionQuery

        public java.lang.Boolean hasConditionQuery()
      • getConditionQuery

        public java.lang.String getConditionQuery()
      • isOrdered

        public boolean isOrdered()
        Returns:
        the ordered
      • isNavigable

        public boolean isNavigable()
      • setOrdered

        public void setOrdered​(boolean ordered)
        Parameters:
        ordered - the ordered to set
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)