Package com.logicaldoc.webservice.model
Class WSAttribute
- java.lang.Object
-
- com.logicaldoc.webservice.model.WSAttribute
-
- All Implemented Interfaces:
Serializable
public class WSAttribute extends Object implements Serializable
Extended attribute of a document- Since:
- 4.0
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_BOOLEAN
static int
TYPE_DATE
static int
TYPE_DOUBLE
static int
TYPE_FOLDER
static int
TYPE_INT
static int
TYPE_STRING
static int
TYPE_USER
-
Constructor Summary
Constructors Constructor Description WSAttribute()
-
Method Summary
-
-
-
Field Detail
-
TYPE_STRING
public static final int TYPE_STRING
- See Also:
- Constant Field Values
-
TYPE_INT
public static final int TYPE_INT
- See Also:
- Constant Field Values
-
TYPE_DOUBLE
public static final int TYPE_DOUBLE
- See Also:
- Constant Field Values
-
TYPE_DATE
public static final int TYPE_DATE
- See Also:
- Constant Field Values
-
TYPE_USER
public static final int TYPE_USER
- See Also:
- Constant Field Values
-
TYPE_BOOLEAN
public static final int TYPE_BOOLEAN
- See Also:
- Constant Field Values
-
TYPE_FOLDER
public static final int TYPE_FOLDER
- See Also:
- Constant Field Values
-
-
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 Object getValue()
Gets the attribute value. It can be as String, Long, Double or Date.- Returns:
- The attribute value as Object.
-
setValue
public void setValue(Object value)
Sets the attribute value. It can be as String, Long, Double or Date.- Parameters:
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)
-
-