Package sk.iway.iwcm.doc.attributes.jpa
Class DocAtrDefEntity
java.lang.Object
sk.iway.iwcm.database.ActiveRecordBase
sk.iway.iwcm.database.ActiveRecordRepository
sk.iway.iwcm.doc.attributes.jpa.DocAtrDefEntity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWe don't want to send docAtrEntities to frontend, because it's not needed to be there in attrDefinition pageFor 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 backendgetGroup()getId()getName()getType()voidvoidsetDefaultValue(String defaultValue) voidsetDescription(String description) voidsetDocAtrEntities(List<DocAtrEntity> docAtrEntities) We don't want to send docAtrEntities to frontend, because it's not needed to be there in attrDefinition pagevoidsetDocAtrEntityFirst(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 backendvoidsetDomainId(Integer domainId) voidsetFalseValue(String falseValue) voidvoidvoidvoidsetOrderPriority(Integer orderPriority) voidsetTrueValue(String trueValue) voidMethods inherited from class sk.iway.iwcm.database.ActiveRecordBase
delete, get__rowNum__, save, set__rowNum__, toString
-
Constructor Details
-
DocAtrDefEntity
public DocAtrDefEntity()
-
-
Method Details
-
prePersist
public void prePersist() -
setId
- Specified by:
setIdin classActiveRecordRepository
-
getId
- Specified by:
getIdin classActiveRecordRepository
-
getName
-
getOrderPriority
-
getDescription
-
getDefaultValue
-
getType
-
getGroup
-
getTrueValue
-
getFalseValue
-
getDomainId
-
getDocAtrEntities
We don't want to send docAtrEntities to frontend, because it's not needed to be there in attrDefinition page -
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
-
setOrderPriority
-
setDescription
-
setDefaultValue
-
setType
-
setGroup
-
setTrueValue
-
setFalseValue
-
setDomainId
-
setDocAtrEntities
We don't want to send docAtrEntities to frontend, because it's not needed to be there in attrDefinition page -
setDocAtrEntityFirst
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
-