Class RelationModelBean

java.lang.Object
ch.tocco.nice2.rest.entitymodel.spi.beans.RelationModelBean

public class RelationModelBean extends Object
  • Constructor Details

    • RelationModelBean

      public RelationModelBean()
    • RelationModelBean

      public RelationModelBean(String relationName, String targetEntity, String reverseRelationName, Boolean multi, Map<String,Object> validation, RelationDisplayBean relationDisplay, @Nullable @Nullable Object defaultValues, @Nullable @Nullable String defaultValueType, boolean createPermission, boolean useRemoteFieldNewButton, String label)
  • Method Details

    • getRelationName

      public String getRelationName()
    • setRelationName

      public void setRelationName(String relationName)
    • getTargetEntity

      public String getTargetEntity()
    • setTargetEntity

      public void setTargetEntity(String targetEntity)
    • getReverseRelationName

      public String getReverseRelationName()
    • setReverseRelationName

      public void setReverseRelationName(String reverseRelationName)
    • getMulti

      public Boolean getMulti()
    • setMulti

      public void setMulti(Boolean multi)
    • getValidation

      public Map<String,Object> getValidation()
    • setValidation

      public void setValidation(Map<String,Object> validation)
    • getDefaultValues

      @Nullable public @Nullable Object getDefaultValues()
    • setDefaultValues

      public void setDefaultValues(@Nullable @Nullable Object defaultValues)
    • getRelationDisplay

      public RelationDisplayBean getRelationDisplay()
    • setRelationDisplay

      public void setRelationDisplay(RelationDisplayBean relationDisplay)
    • getDefaultValueType

      @Nullable public @Nullable String getDefaultValueType()
    • setDefaultValueType

      public void setDefaultValueType(@Nullable @Nullable String defaultValueType)
    • isCreatePermission

      public boolean isCreatePermission()
    • setCreatePermission

      public void setCreatePermission(boolean createPermission)
    • getUseRemoteFieldNewButton

      public boolean getUseRemoteFieldNewButton()
    • setUseRemoteFieldNewButton

      public void setUseRemoteFieldNewButton(boolean useRemoteFieldNewButton)
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)