Class DocumentAttributeValue
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.DocumentAttributeValue
-
- All Implemented Interfaces:
Serializable
public class DocumentAttributeValue extends Object implements Serializable
Java class for documentAttributeValue complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="documentAttributeValue"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="char" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="number" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="clob" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="externalValue" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="dimensionReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/> <element name="documentReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/> <element name="valuelistReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/> <element name="file" type="{http://www.iknowbase.com/ws/iknowbase-2}file"/> <element name="xml" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="objectReference" type="{http://www.iknowbase.com/ws/iknowbase-2}objectReference"/> <element name="userReference" type="{http://www.iknowbase.com/ws/iknowbase-2}userReference"/> </choice> <attribute name="external" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="lineNo" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="doInternalCheck" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="buildMetadata" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="objectGuid" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
_char
protected Boolean
buildMetadata
protected String
clob
protected Calendar
date
protected ObjectReference
dimensionReference
protected ObjectReference
documentReference
protected Boolean
doInternalCheck
protected Boolean
external
protected String
externalValue
protected File
file
protected Integer
lineNo
protected BigDecimal
number
protected String
objectGuid
protected ObjectReference
objectReference
protected UserReference
userReference
protected ObjectReference
valuelistReference
protected Element
xml
-
Constructor Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DocumentAttributeValue
from(Object value)
String
getChar()
Gets the value of the char property.String
getClob()
Gets the value of the clob property.Calendar
getDate()
Gets the value of the date property.Instant
getDateAsInstant()
LocalDateTime
getDateAsLocalDateTime()
ZonedDateTime
getDateAsZonedDateTime()
ObjectReference
getDimensionReference()
Gets the value of the dimensionReference property.ObjectReference
getDocumentReference()
Gets the value of the documentReference property.String
getExternalValue()
Gets the value of the externalValue property.File
getFile()
Gets the value of the file property.Integer
getLineNo()
Gets the value of the lineNo property.BigDecimal
getNumber()
Gets the value of the number property.String
getObjectGuid()
Gets the value of the objectGuid property.ObjectReference
getObjectReference()
Gets the value of the objectReference property.UserReference
getUserReference()
Gets the value of the userReference property.ObjectReference
getValuelistReference()
Gets the value of the valuelistReference property.Element
getXml()
Gets the value of the xml property.boolean
isBuildMetadata()
Gets the value of the buildMetadata property.boolean
isDoInternalCheck()
Gets the value of the doInternalCheck property.boolean
isExternal()
Gets the value of the external property.void
setBuildMetadata(Boolean value)
Sets the value of the buildMetadata property.void
setChar(String value)
Sets the value of the char property.void
setClob(String value)
Sets the value of the clob property.void
setDate(Calendar value)
Sets the value of the date property.void
setDateTime(LocalDateTime dateTime)
void
setDateTime(ZonedDateTime dateTime)
void
setDimensionReference(ObjectReference value)
Sets the value of the dimensionReference property.void
setDocumentReference(ObjectReference value)
Sets the value of the documentReference property.void
setDoInternalCheck(Boolean value)
Sets the value of the doInternalCheck property.void
setExternal(Boolean value)
Sets the value of the external property.void
setExternalValue(String value)
Sets the value of the externalValue property.void
setFile(File value)
Sets the value of the file property.void
setFile(InputStream data)
Deprecated.void
setFile(InputStream data, String filename)
Deprecated.void
setFile(InputStream data, String filename, String mimetype)
void
setFile(String data)
void
setFile(String data, String filename)
void
setFile(javax.activation.DataSource dataSource)
void
setInstant(Instant instant)
void
setLineNo(Integer value)
Sets the value of the lineNo property.void
setNumber(BigDecimal value)
Sets the value of the number property.void
setObjectGuid(String value)
Sets the value of the objectGuid property.void
setObjectReference(ObjectReference value)
Sets the value of the objectReference property.void
setUserReference(UserReference value)
Sets the value of the userReference property.void
setValuelistReference(ObjectReference value)
Sets the value of the valuelistReference property.void
setXml(Element value)
Sets the value of the xml property.static List<DocumentAttributeValue>
values(File... values)
static List<DocumentAttributeValue>
values(ObjectReference... values)
static List<DocumentAttributeValue>
values(UserReference... values)
static List<DocumentAttributeValue>
values(Double... values)
static List<DocumentAttributeValue>
values(Integer... values)
static List<DocumentAttributeValue>
values(Long... values)
static List<DocumentAttributeValue>
values(Object... values)
static List<DocumentAttributeValue>
values(String... values)
static List<DocumentAttributeValue>
values(BigDecimal... values)
static List<DocumentAttributeValue>
values(Instant... values)
static List<DocumentAttributeValue>
values(LocalDateTime... values)
static List<DocumentAttributeValue>
values(ZonedDateTime... values)
static List<DocumentAttributeValue>
values(Calendar... values)
static List<DocumentAttributeValue>
values(Collection<Object> values)
static List<DocumentAttributeValue>
values(Date... values)
static List<DocumentAttributeValue>
values(javax.activation.DataSource... values)
static List<DocumentAttributeValue>
values(Element... values)
DocumentAttributeValue
withBuildMetadata(Boolean value)
DocumentAttributeValue
withChar(String value)
DocumentAttributeValue
withClob(String value)
DocumentAttributeValue
withDate(Calendar value)
DocumentAttributeValue
withDateTime(LocalDateTime dateTime)
DocumentAttributeValue
withDateTime(ZonedDateTime dateTime)
DocumentAttributeValue
withDimensionReference(ObjectReference value)
DocumentAttributeValue
withDocumentReference(ObjectReference value)
DocumentAttributeValue
withDoInternalCheck(Boolean value)
DocumentAttributeValue
withExternal(Boolean value)
DocumentAttributeValue
withExternalValue(String value)
DocumentAttributeValue
withFile(File value)
DocumentAttributeValue
withFile(InputStream data)
Deprecated.DocumentAttributeValue
withFile(InputStream data, String filename)
Deprecated.DocumentAttributeValue
withFile(InputStream data, String filename, String mimetype)
DocumentAttributeValue
withFile(String data)
DocumentAttributeValue
withFile(String data, String filename)
DocumentAttributeValue
withFile(javax.activation.DataSource dataSource)
DocumentAttributeValue
withInstant(Instant instant)
DocumentAttributeValue
withLineNo(Integer value)
DocumentAttributeValue
withNumber(BigDecimal value)
DocumentAttributeValue
withObjectGuid(String value)
DocumentAttributeValue
withObjectReference(ObjectReference value)
DocumentAttributeValue
withUserReference(UserReference value)
DocumentAttributeValue
withValuelistReference(ObjectReference value)
DocumentAttributeValue
withXml(Element value)
-
-
-
Field Detail
-
date
protected Calendar date
-
_char
protected String _char
-
number
protected BigDecimal number
-
clob
protected String clob
-
externalValue
protected String externalValue
-
dimensionReference
protected ObjectReference dimensionReference
-
documentReference
protected ObjectReference documentReference
-
valuelistReference
protected ObjectReference valuelistReference
-
file
protected File file
-
xml
protected Element xml
-
objectReference
protected ObjectReference objectReference
-
userReference
protected UserReference userReference
-
external
protected Boolean external
-
lineNo
protected Integer lineNo
-
doInternalCheck
protected Boolean doInternalCheck
-
buildMetadata
protected Boolean buildMetadata
-
objectGuid
protected String objectGuid
-
-
Constructor Detail
-
DocumentAttributeValue
public DocumentAttributeValue()
Default no-arg constructor
-
DocumentAttributeValue
public DocumentAttributeValue(Calendar date, String _char, BigDecimal number, String clob, String externalValue, ObjectReference dimensionReference, ObjectReference documentReference, ObjectReference valuelistReference, File file, Element xml, ObjectReference objectReference, UserReference userReference, Boolean external, Integer lineNo, Boolean doInternalCheck, Boolean buildMetadata, String objectGuid)
Fully-initialising value constructor
-
DocumentAttributeValue
public DocumentAttributeValue(Calendar date, String _char, BigDecimal number, String clob, String externalValue, ObjectReference dimensionReference, ObjectReference documentReference, ObjectReference valuelistReference, File file, Element xml, ObjectReference objectReference, UserReference userReference, Boolean external, Integer lineNo, Boolean doInternalCheck, Boolean buildMetadata)
-
DocumentAttributeValue
public DocumentAttributeValue(String value)
-
DocumentAttributeValue
public DocumentAttributeValue(Calendar value)
-
DocumentAttributeValue
public DocumentAttributeValue(Date value)
-
DocumentAttributeValue
public DocumentAttributeValue(ZonedDateTime value)
-
DocumentAttributeValue
public DocumentAttributeValue(LocalDateTime value)
-
DocumentAttributeValue
public DocumentAttributeValue(Instant value)
-
DocumentAttributeValue
public DocumentAttributeValue(BigDecimal value)
-
DocumentAttributeValue
public DocumentAttributeValue(Integer value)
-
DocumentAttributeValue
public DocumentAttributeValue(Long value)
-
DocumentAttributeValue
public DocumentAttributeValue(Double value)
-
DocumentAttributeValue
public DocumentAttributeValue(File value)
-
DocumentAttributeValue
public DocumentAttributeValue(javax.activation.DataSource value)
-
DocumentAttributeValue
public DocumentAttributeValue(Element value)
-
DocumentAttributeValue
public DocumentAttributeValue(ObjectReference value)
-
DocumentAttributeValue
public DocumentAttributeValue(UserReference value)
-
DocumentAttributeValue
public DocumentAttributeValue(InputStream data, String filename, String mimetype)
-
DocumentAttributeValue
@Deprecated public DocumentAttributeValue(InputStream data, String filename)
Deprecated.
-
DocumentAttributeValue
@Deprecated public DocumentAttributeValue(InputStream data)
Deprecated.
-
-
Method Detail
-
getDate
public Calendar getDate()
Gets the value of the date property.- Returns:
- possible object is
String
-
setDate
public void setDate(Calendar value)
Sets the value of the date property.- Parameters:
value
- allowed object isString
-
getChar
public String getChar()
Gets the value of the char property.- Returns:
- possible object is
String
-
setChar
public void setChar(String value)
Sets the value of the char property.- Parameters:
value
- allowed object isString
-
getNumber
public BigDecimal getNumber()
Gets the value of the number property.- Returns:
- possible object is
BigDecimal
-
setNumber
public void setNumber(BigDecimal value)
Sets the value of the number property.- Parameters:
value
- allowed object isBigDecimal
-
getClob
public String getClob()
Gets the value of the clob property.- Returns:
- possible object is
String
-
setClob
public void setClob(String value)
Sets the value of the clob property.- Parameters:
value
- allowed object isString
-
getExternalValue
public String getExternalValue()
Gets the value of the externalValue property.- Returns:
- possible object is
String
-
setExternalValue
public void setExternalValue(String value)
Sets the value of the externalValue property.- Parameters:
value
- allowed object isString
-
getDimensionReference
public ObjectReference getDimensionReference()
Gets the value of the dimensionReference property.- Returns:
- possible object is
ObjectReference
-
setDimensionReference
public void setDimensionReference(ObjectReference value)
Sets the value of the dimensionReference property.- Parameters:
value
- allowed object isObjectReference
-
getDocumentReference
public ObjectReference getDocumentReference()
Gets the value of the documentReference property.- Returns:
- possible object is
ObjectReference
-
setDocumentReference
public void setDocumentReference(ObjectReference value)
Sets the value of the documentReference property.- Parameters:
value
- allowed object isObjectReference
-
getValuelistReference
public ObjectReference getValuelistReference()
Gets the value of the valuelistReference property.- Returns:
- possible object is
ObjectReference
-
setValuelistReference
public void setValuelistReference(ObjectReference value)
Sets the value of the valuelistReference property.- Parameters:
value
- allowed object isObjectReference
-
setFile
public void setFile(File value)
Sets the value of the file property.- Parameters:
value
- allowed object isFile
-
getXml
public Element getXml()
Gets the value of the xml property.- Returns:
- possible object is
Element
-
setXml
public void setXml(Element value)
Sets the value of the xml property.- Parameters:
value
- allowed object isElement
-
getObjectReference
public ObjectReference getObjectReference()
Gets the value of the objectReference property.- Returns:
- possible object is
ObjectReference
-
setObjectReference
public void setObjectReference(ObjectReference value)
Sets the value of the objectReference property.- Parameters:
value
- allowed object isObjectReference
-
getUserReference
public UserReference getUserReference()
Gets the value of the userReference property.- Returns:
- possible object is
UserReference
-
setUserReference
public void setUserReference(UserReference value)
Sets the value of the userReference property.- Parameters:
value
- allowed object isUserReference
-
isExternal
public boolean isExternal()
Gets the value of the external property.- Returns:
- possible object is
Boolean
-
setExternal
public void setExternal(Boolean value)
Sets the value of the external property.- Parameters:
value
- allowed object isBoolean
-
getLineNo
public Integer getLineNo()
Gets the value of the lineNo property.- Returns:
- possible object is
Integer
-
setLineNo
public void setLineNo(Integer value)
Sets the value of the lineNo property.- Parameters:
value
- allowed object isInteger
-
isDoInternalCheck
public boolean isDoInternalCheck()
Gets the value of the doInternalCheck property.- Returns:
- possible object is
Boolean
-
setDoInternalCheck
public void setDoInternalCheck(Boolean value)
Sets the value of the doInternalCheck property.- Parameters:
value
- allowed object isBoolean
-
isBuildMetadata
public boolean isBuildMetadata()
Gets the value of the buildMetadata property.- Returns:
- possible object is
Boolean
-
setBuildMetadata
public void setBuildMetadata(Boolean value)
Sets the value of the buildMetadata property.- Parameters:
value
- allowed object isBoolean
-
getObjectGuid
public String getObjectGuid()
Gets the value of the objectGuid property.- Returns:
- possible object is
String
-
setObjectGuid
public void setObjectGuid(String value)
Sets the value of the objectGuid property.- Parameters:
value
- allowed object isString
-
withDate
public DocumentAttributeValue withDate(Calendar value)
-
withChar
public DocumentAttributeValue withChar(String value)
-
withNumber
public DocumentAttributeValue withNumber(BigDecimal value)
-
withClob
public DocumentAttributeValue withClob(String value)
-
withExternalValue
public DocumentAttributeValue withExternalValue(String value)
-
withDimensionReference
public DocumentAttributeValue withDimensionReference(ObjectReference value)
-
withDocumentReference
public DocumentAttributeValue withDocumentReference(ObjectReference value)
-
withValuelistReference
public DocumentAttributeValue withValuelistReference(ObjectReference value)
-
withFile
public DocumentAttributeValue withFile(File value)
-
withXml
public DocumentAttributeValue withXml(Element value)
-
withObjectReference
public DocumentAttributeValue withObjectReference(ObjectReference value)
-
withUserReference
public DocumentAttributeValue withUserReference(UserReference value)
-
withExternal
public DocumentAttributeValue withExternal(Boolean value)
-
withLineNo
public DocumentAttributeValue withLineNo(Integer value)
-
withDoInternalCheck
public DocumentAttributeValue withDoInternalCheck(Boolean value)
-
withBuildMetadata
public DocumentAttributeValue withBuildMetadata(Boolean value)
-
withObjectGuid
public DocumentAttributeValue withObjectGuid(String value)
-
getDateAsZonedDateTime
public ZonedDateTime getDateAsZonedDateTime()
-
getDateAsLocalDateTime
public LocalDateTime getDateAsLocalDateTime()
-
getDateAsInstant
public Instant getDateAsInstant()
-
setDateTime
public void setDateTime(ZonedDateTime dateTime)
-
setDateTime
public void setDateTime(LocalDateTime dateTime)
-
setInstant
public void setInstant(Instant instant)
-
withDateTime
public DocumentAttributeValue withDateTime(ZonedDateTime dateTime)
-
withDateTime
public DocumentAttributeValue withDateTime(LocalDateTime dateTime)
-
withInstant
public DocumentAttributeValue withInstant(Instant instant)
-
setFile
public void setFile(javax.activation.DataSource dataSource)
-
setFile
public void setFile(InputStream data, String filename, String mimetype)
-
setFile
@Deprecated public void setFile(InputStream data, String filename)
Deprecated.
-
setFile
@Deprecated public void setFile(InputStream data)
Deprecated.
-
setFile
public void setFile(String data)
-
withFile
public DocumentAttributeValue withFile(javax.activation.DataSource dataSource)
-
withFile
public DocumentAttributeValue withFile(InputStream data, String filename, String mimetype)
-
withFile
@Deprecated public DocumentAttributeValue withFile(InputStream data, String filename)
Deprecated.
-
withFile
@Deprecated public DocumentAttributeValue withFile(InputStream data)
Deprecated.
-
withFile
public DocumentAttributeValue withFile(String data, String filename)
-
withFile
public DocumentAttributeValue withFile(String data)
-
from
public static DocumentAttributeValue from(Object value)
-
values
public static List<DocumentAttributeValue> values(String... values)
-
values
public static List<DocumentAttributeValue> values(Calendar... values)
-
values
public static List<DocumentAttributeValue> values(ZonedDateTime... values)
-
values
public static List<DocumentAttributeValue> values(LocalDateTime... values)
-
values
public static List<DocumentAttributeValue> values(Instant... values)
-
values
public static List<DocumentAttributeValue> values(Date... values)
-
values
public static List<DocumentAttributeValue> values(BigDecimal... values)
-
values
public static List<DocumentAttributeValue> values(Integer... values)
-
values
public static List<DocumentAttributeValue> values(Long... values)
-
values
public static List<DocumentAttributeValue> values(Double... values)
-
values
public static List<DocumentAttributeValue> values(File... values)
-
values
public static List<DocumentAttributeValue> values(javax.activation.DataSource... values)
-
values
public static List<DocumentAttributeValue> values(Element... values)
-
values
public static List<DocumentAttributeValue> values(ObjectReference... values)
-
values
public static List<DocumentAttributeValue> values(UserReference... values)
-
values
public static List<DocumentAttributeValue> values(Object... values)
-
values
public static List<DocumentAttributeValue> values(Collection<Object> values)
-
-