Class DocAtrDefEntity


@Entity public class DocAtrDefEntity extends ActiveRecordRepository
  • Constructor Details

    • DocAtrDefEntity

      public DocAtrDefEntity()
  • Method Details

    • prePersist

      public void prePersist()
    • setId

      public void setId(Long id)
      Specified by:
      setId in class ActiveRecordRepository
    • getId

      public Long getId()
      Specified by:
      getId in class ActiveRecordRepository
    • getName

      public String getName()
    • getOrderPriority

      public Integer getOrderPriority()
    • getDescription

      public String getDescription()
    • getDefaultValue

      public String getDefaultValue()
    • getType

      public Integer getType()
    • getGroup

      public String getGroup()
    • getTrueValue

      public String getTrueValue()
    • getFalseValue

      public String getFalseValue()
    • getDomainId

      public Integer getDomainId()
    • getDocAtrEntities

      public List<DocAtrEntity> getDocAtrEntities()
      We don't want to send docAtrEntities to frontend, because it's not needed to be there in attrDefinition page
    • getDocAtrEntityFirst

      public DocAtrEntity getDocAtrEntityFirst()
      For webPage we need to send DocAtrEntity value, as we have @JsonIgnore on docAtrEntities we need to fill this field with first value from docAtrEntities on backend
    • setName

      public void setName(String name)
    • setOrderPriority

      public void setOrderPriority(Integer orderPriority)
    • setDescription

      public void setDescription(String description)
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
    • setType

      public void setType(Integer type)
    • setGroup

      public void setGroup(String group)
    • setTrueValue

      public void setTrueValue(String trueValue)
    • setFalseValue

      public void setFalseValue(String falseValue)
    • setDomainId

      public void setDomainId(Integer domainId)
    • setDocAtrEntities

      public void setDocAtrEntities(List<DocAtrEntity> docAtrEntities)
      We don't want to send docAtrEntities to frontend, because it's not needed to be there in attrDefinition page
    • setDocAtrEntityFirst

      public void setDocAtrEntityFirst(DocAtrEntity docAtrEntityFirst)
      For webPage we need to send DocAtrEntity value, as we have @JsonIgnore on docAtrEntities we need to fill this field with first value from docAtrEntities on backend