Class YRelation


public class YRelation extends YComposedType
  • Constructor Details

  • Method Details

    • allowMetaTypeInheritanceFrom

      protected boolean allowMetaTypeInheritanceFrom(YComposedType superType)
      Dont inherit meta type from 'normal' composed types - using default meta type instead.
      Overrides:
      allowMetaTypeInheritanceFrom in class YComposedType
    • getDefaultMetaTypeCode

      protected String getDefaultMetaTypeCode()
      Overrides:
      getDefaultMetaTypeCode in class YComposedType
    • 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 YComposedType
    • isLocalized

      public boolean isLocalized()
    • setLocalized

      public void setLocalized(boolean localized)
    • isOneToMany

      public boolean isOneToMany()
    • getOrderingAttribute

      public YAttributeDescriptor getOrderingAttribute()
    • getLocalizationAttribute

      public YAttributeDescriptor getLocalizationAttribute()
    • getSourceEnd

      public YRelationEnd getSourceEnd()
    • getTargetEnd

      public YRelationEnd getTargetEnd()
    • setSourceEnd

      public void setSourceEnd(YRelationEnd src)
    • setTargetEnd

      public void setTargetEnd(YRelationEnd tgt)