Class WSAttribute

    • Constructor Detail

      • WSAttribute

        public WSAttribute()
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getStringValue

        public String getStringValue()
      • setStringValue

        public void setStringValue​(String stringValue)
      • getIntValue

        public Long getIntValue()
      • setIntValue

        public void setIntValue​(Long intValue)
      • getDoubleValue

        public Double getDoubleValue()
      • setDoubleValue

        public void setDoubleValue​(Double doubleValue)
      • getDateValue

        public String getDateValue()
      • setDateValue

        public void setDateValue​(String dateValue)
      • getType

        public int getType()
      • setType

        public void setType​(int type)
      • getMandatory

        public int getMandatory()
      • setMandatory

        public void setMandatory​(int mandatory)
      • getPosition

        public int getPosition()
      • setPosition

        public void setPosition​(int position)
      • getLabel

        public String getLabel()
      • setLabel

        public void setLabel​(String label)
      • getValue

        public static Object getValue​(WSAttribute attribute)
        Gets the attribute value. It can be as String, Long, Double or Date. We declare this static because do not want the value field to be serialized in SOAP / REST
        Parameters:
        attribute - the attribute instance
        Returns:
        The attribute value as Object.
      • setValue

        public static void setValue​(WSAttribute attribute,
                                    Object value)
        Sets the attribute value. It can be as String, Long, Double or Date.
        Parameters:
        attribute - the attribute instance
        value - The attribute value
      • getEditor

        public int getEditor()
      • setEditor

        public void setEditor​(int editor)
      • getSetId

        public Long getSetId()
      • setSetId

        public void setSetId​(Long setId)
      • getHidden

        public int getHidden()
      • setHidden

        public void setHidden​(int hidden)
      • getMultiple

        public int getMultiple()
      • getParent

        public String getParent()
      • setMultiple

        public void setMultiple​(int multiple)
      • setParent

        public void setParent​(String parent)
      • getStringValues

        public String getStringValues()
      • setStringValues

        public void setStringValues​(String stringValues)
      • getDependsOn

        public String getDependsOn()
      • setDependsOn

        public void setDependsOn​(String dependsOn)
      • getValidation

        public String getValidation()
      • setValidation

        public void setValidation​(String validation)
      • getInitialization

        public String getInitialization()
      • setInitialization

        public void setInitialization​(String initialization)
      • getReadonly

        public int getReadonly()
      • setReadonly

        public void setReadonly​(int readonly)