Class RequirementListDataItem
- All Implemented Interfaces:
RepositoryEntity,Serializable
ReqCtrlListDataItem class.
- Version:
- $Id: $Id
- Author:
- matthieu
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.alfresco.service.cmr.repository.NodeRefprivate Stringprivate Stringprivate RequirementDataTypeprivate Doubleprivate org.alfresco.service.cmr.repository.MLTextprivate RequirementTypeprivate static final longprivate Integerprivate List<org.alfresco.service.cmr.repository.NodeRef>Fields inherited from class fr.becpg.repo.repository.model.BeCPGDataObject
aspects, aspectsToRemove, extraProperties, isTransient, name, nodeRef, parentNodeRef -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSource(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef) addSource.static RequirementListDataItembuild()build.booleanstatic RequirementListDataItemforbidden.org.alfresco.service.cmr.repository.NodeRefGetter for the fieldcharact.getReqMessage.Getter for the fieldformulationChainId.getKey()getKey.Getter for the fieldregulatoryCode.Getter for the fieldreqDataType.Getter for the fieldrclReqMaxQty.getReqMessage.org.alfresco.service.cmr.repository.MLTextGetter for the fieldreqMlMessage.Getter for the fieldreqType.getSort()Getter for the fieldsort.List<org.alfresco.service.cmr.repository.NodeRef>Getter for the fieldsources.inthashCode()hashCode.static RequirementListDataIteminfo()info.ofDataType(RequirementDataType reqDataType) ofDataType.ofType(RequirementType reqType) ofType.voidsetCharact(org.alfresco.service.cmr.repository.NodeRef charact) Setter for the fieldcharact.voidsetFormulationChainId(String formulationChainId) Setter for the fieldformulationChainId.voidsetRegulatoryCode(String regulatoryCode) Setter for the fieldregulatoryCode.voidsetReqDataType(RequirementDataType reqDataType) Setter for the fieldreqDataType.voidsetReqMaxQty(Double reqMaxQty) Setter for the fieldrclReqMaxQty.voidsetReqMlMessage(org.alfresco.service.cmr.repository.MLText reqMlMessage) Setter for the fieldreqMlMessage.voidsetReqType(RequirementType reqType) Setter for the fieldreqType.voidSetter for the fieldsort.voidsetSources(List<org.alfresco.service.cmr.repository.NodeRef> sources) Setter for the fieldsources.static RequirementListDataItemtolerated.toString()toString.withCharact(org.alfresco.service.cmr.repository.NodeRef charact) withCharact.withFormulationChainId(String formulationChainId) withFormulationChainId.withMessage(org.alfresco.service.cmr.repository.MLText reqMlMessage) withMessage.withRegulatoryCode(String regulatoryCode) withRegulatoryCode.withReqMaxQty(Double reqMaxQty) withReqMaxQty.withSources(List<org.alfresco.service.cmr.repository.NodeRef> sources) withSources.Methods inherited from class fr.becpg.repo.repository.model.BeCPGDataObject
getAspects, getAspectsToRemove, getDbHashCode, getExtraProperties, getName, getNodeRef, getParentNodeRef, isTransient, setAspects, setAspectsToRemove, setDbHashCode, setExtraProperties, setName, setNodeRef, setParentNodeRef, setTransient
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
reqType
-
reqMlMessage
private org.alfresco.service.cmr.repository.MLText reqMlMessage -
reqMaxQty
-
charact
private org.alfresco.service.cmr.repository.NodeRef charact -
sources
-
reqDataType
-
regulatoryCode
-
formulationChainId
-
sort
-
-
Constructor Details
-
RequirementListDataItem
public RequirementListDataItem()Constructor for ReqCtrlListDataItem.
-
-
Method Details
-
getFormulationChainId
Getter for the field
formulationChainId.- Returns:
- a
Stringobject.
-
setFormulationChainId
Setter for the field
formulationChainId.- Parameters:
formulationChainId- aStringobject.
-
getReqMaxQty
Getter for the field
rclReqMaxQty.- Returns:
- a
Doubleobject.
-
setReqMaxQty
Setter for the field
rclReqMaxQty.- Parameters:
reqMaxQty- aDoubleobject.
-
getReqType
Getter for the field
reqType.- Returns:
- a
RequirementTypeobject.
-
setReqType
Setter for the field
reqType.- Parameters:
reqType- aRequirementTypeobject.
-
getReqMessage
getReqMessage.
- Returns:
- a
Stringobject.
-
getContentLocaleReqMessage
getReqMessage.
- Returns:
- a
Stringobject.
-
getKey
getKey.
- Returns:
- a
Stringobject.
-
getReqMlMessage
public org.alfresco.service.cmr.repository.MLText getReqMlMessage()Getter for the field
reqMlMessage.- Returns:
- a
MLTextobject.
-
setReqMlMessage
public void setReqMlMessage(org.alfresco.service.cmr.repository.MLText reqMlMessage) Setter for the field
reqMlMessage.- Parameters:
reqMlMessage- aMLTextobject.
-
getSort
Getter for the field
sort.- Returns:
- a
Integerobject.
-
setSort
Setter for the field
sort.- Parameters:
sort- aIntegerobject.
-
getCharact
public org.alfresco.service.cmr.repository.NodeRef getCharact()Getter for the field
charact.- Returns:
- a
NodeRefobject.
-
setCharact
public void setCharact(org.alfresco.service.cmr.repository.NodeRef charact) Setter for the field
charact.- Parameters:
charact- aNodeRefobject.
-
getSources
Getter for the field
sources.- Returns:
- a
Listobject.
-
addSource
public void addSource(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef) addSource.
- Parameters:
sourceNodeRef- aNodeRefobject
-
setSources
Setter for the field
sources.- Parameters:
sources- aListobject.
-
getReqDataType
Getter for the field
reqDataType.- Returns:
- a
RequirementDataTypeobject.
-
setReqDataType
Setter for the field
reqDataType.- Parameters:
reqDataType- aRequirementDataTypeobject.
-
getRegulatoryCode
Getter for the field
regulatoryCode.- Returns:
- a
Stringobject.
-
setRegulatoryCode
Setter for the field
regulatoryCode.- Parameters:
regulatoryCode- aStringobject.
-
build
build.
- Returns:
- a
RequirementListDataItemobject
-
forbidden
forbidden.
- Returns:
- a
RequirementListDataItemobject
-
tolerated
tolerated.
- Returns:
- a
RequirementListDataItemobject
-
info
info.
- Returns:
- a
RequirementListDataItemobject
-
ofType
ofType.
- Parameters:
reqType- aRequirementTypeobject- Returns:
- a
RequirementListDataItemobject
-
withMessage
withMessage.
- Parameters:
reqMlMessage- aMLTextobject- Returns:
- a
RequirementListDataItemobject
-
withCharact
withCharact.
- Parameters:
charact- aNodeRefobject- Returns:
- a
RequirementListDataItemobject
-
withRegulatoryCode
withRegulatoryCode.
- Parameters:
regulatoryCode- aStringobject- Returns:
- a
RequirementListDataItemobject
-
withFormulationChainId
withFormulationChainId.
- Parameters:
formulationChainId- aStringobject- Returns:
- a
RequirementListDataItemobject
-
withSources
public RequirementListDataItem withSources(List<org.alfresco.service.cmr.repository.NodeRef> sources) withSources.
- Parameters:
sources- aListobject- Returns:
- a
RequirementListDataItemobject
-
withReqMaxQty
withReqMaxQty.
- Parameters:
reqMaxQty- aDoubleobject- Returns:
- a
RequirementListDataItemobject
-
ofDataType
ofDataType.
- Parameters:
reqDataType- aRequirementDataTypeobject- Returns:
- a
RequirementListDataItemobject
-
hashCode
public int hashCode()hashCode.
- Overrides:
hashCodein classBeCPGDataObject- Returns:
- a int.
-
equals
- Overrides:
equalsin classBeCPGDataObject
-
toString
toString.
- Overrides:
toStringin classBeCPGDataObject- Returns:
- a
Stringobject.
-