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_INT
static int
TYPE_STRING
static int
TYPE_USER
-
Constructor Summary
Constructors Constructor Description WSAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDateValue()
Double
getDoubleValue()
int
getEditor()
int
getHidden()
Long
getIntValue()
String
getLabel()
int
getMandatory()
int
getMultiple()
String
getName()
String
getParent()
int
getPosition()
Long
getSetId()
String
getStringValue()
String
getStringValues()
int
getType()
Object
getValue()
Gets the attribute value.void
setDateValue(String dateValue)
void
setDoubleValue(Double doubleValue)
void
setEditor(int editor)
void
setHidden(int hidden)
void
setIntValue(Long intValue)
void
setLabel(String label)
void
setMandatory(int mandatory)
void
setMultiple(int multiple)
void
setName(String name)
void
setParent(String parent)
void
setPosition(int position)
void
setSetId(Long setId)
void
setStringValue(String stringValue)
void
setStringValues(String stringValues)
void
setType(int type)
void
setValue(Object value)
Sets the attribute value.String
toString()
-
-
-
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
-
-
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)
-
-