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()
void
void
setDefaultValue
(String defaultValue) void
setDescription
(String description) void
setDocAtrEntities
(List<DocAtrEntity> docAtrEntities) We don't want to send docAtrEntities to frontend, because it's not needed to be there in attrDefinition pagevoid
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 backendvoid
setDomainId
(Integer domainId) void
setFalseValue
(String falseValue) void
void
void
void
setOrderPriority
(Integer orderPriority) void
setTrueValue
(String trueValue) void
Methods 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:
setId
in classActiveRecordRepository
-
getId
- Specified by:
getId
in 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
-