Class ParameterDefinition

java.lang.Object
com.priint.pubserver.plannerapi.resource.PlannerApiResource
com.priint.pubserver.plannerapi.resource.ParameterDefinition
All Implemented Interfaces:
Serializable

public class ParameterDefinition extends PlannerApiResource implements Serializable
Class representing the parameter definition in Planner REST Service.
See Also:
  • Constructor Details

    • ParameterDefinition

      public ParameterDefinition()
    • ParameterDefinition

      public ParameterDefinition(Integer id, String name, String groupname, String identifier, int type, int height, int width, int mountofTextfields, String defaultTextValue, String defaultTextValue2, String defaultTextValue3, boolean defaultCheckbox, String helptext, int pucparamdropdownID, Integer pucparamDefaultDDValueID, String createdby, Date createdon, String updatedby, Date updatedon, boolean deleted, int sort, String entityID, String entityModel, String recordStringID)
  • Method Details

    • getId

      public Integer getId()
      parameter definition ID
    • setId

      public void setId(Integer id)
    • getName

      public String getName()
      parameter definition name
    • setName

      public void setName(String name)
    • getGroupname

      public String getGroupname()
      group name of parameter definition
    • setGroupname

      public void setGroupname(String groupname)
    • getIdentifier

      public String getIdentifier()
      parameter definition identifier
    • setIdentifier

      public void setIdentifier(String identifier) throws InvalidArgumentException
      Throws:
      InvalidArgumentException
    • getType

      public int getType()
      type of parameter definition, representing textfield, checkbox, combobox, bucket, keyvalues, mediaasset, text, cord, price
    • setType

      public void setType(int type)
    • getHeight

      public int getHeight()
      height for textfield type
    • setHeight

      public void setHeight(int height)
    • getWidth

      public int getWidth()
      width for textfield type
    • setWidth

      public void setWidth(int width)
    • getMountofTextfields

      public int getMountofTextfields()
      amount of text fields, from 1 to 3
    • setMountofTextfields

      public void setMountofTextfields(int mountofTextfields)
    • getDefaultTextValue

      public String getDefaultTextValue()
      default text value
    • setDefaultTextValue

      public void setDefaultTextValue(String defaultTextValue)
    • getDefaultTextValue2

      public String getDefaultTextValue2()
      default text value for second value
    • setDefaultTextValue2

      public void setDefaultTextValue2(String defaultTextValue2)
    • getDefaultTextValue3

      public String getDefaultTextValue3()
      default text value for third value
    • setDefaultTextValue3

      public void setDefaultTextValue3(String defaultTextValue3)
    • isDefaultCheckbox

      public boolean isDefaultCheckbox()
      only for chechbox type, default value
    • setDefaultCheckbox

      public void setDefaultCheckbox(boolean defaultCheckbox)
    • getHelptext

      public String getHelptext()
      help text of the Parameter Definition
    • setHelptext

      public void setHelptext(String helptext)
    • getPucparamdropdownID

      public int getPucparamdropdownID()
      ID of dropdown list (use only for combobox type)
    • setPucparamdropdownID

      public void setPucparamdropdownID(int pucparamdropdownID)
    • getPucparamDefaultDDValueID

      public Integer getPucparamDefaultDDValueID()
      ID of default value from drop down list (use only for combobox type)
    • setPucparamDefaultDDValueID

      public void setPucparamDefaultDDValueID(Integer pucparamDefaultDDValueID)
    • getCreatedby

      public String getCreatedby()
      person who created the Parameter definition
    • setCreatedby

      public void setCreatedby(String createdby)
    • getCreatedon

      public Date getCreatedon()
      date of creation of the Parameter definition
    • setCreatedon

      public void setCreatedon(Date createdon)
    • getUpdatedby

      public String getUpdatedby()
      last person who updated the Parameter definition
    • setUpdatedby

      public void setUpdatedby(String updatedby)
    • getUpdatedon

      public Date getUpdatedon()
      date of last update of the Parameter definition
    • setUpdatedon

      public void setUpdatedon(Date updatedon)
    • isDeleted

      public boolean isDeleted()
      deleted flag, if true parameter definition is ignored
    • setDeleted

      public void setDeleted(boolean deleted)
    • getSort

      public int getSort()
      sort order of parameter definition
    • setSort

      public void setSort(int sort)
    • getEntityid

      public String getEntityid()
      entity ID for types like buckets, keyvalues, etc.
    • setEntityid

      public void setEntityid(String entityid)
    • getEntityModel

      public String getEntityModel()
      entity model for types like buckets, keyvalues, etc.
    • setEntityModel

      public void setEntityModel(String entityModel)
    • getRecordstringid

      public String getRecordstringid()
      record string ID of Parameter Definition
    • setRecordstringid

      public void setRecordstringid(String recordstringid)
    • getLinks

      public List<Link> getLinks()
      links of the Parameter definition
    • getValue1validator

      public String getValue1validator()
    • setValue1validator

      public void setValue1validator(String value1validator)
    • getValue2validator

      public String getValue2validator()
    • setValue2validator

      public void setValue2validator(String value2validator)
    • getValue3validator

      public String getValue3validator()
    • setValue3validator

      public void setValue3validator(String value3validator)