Class CscAttribute
java.lang.Object
de.dlr.proseo.api.prip.rest.model.CscAttribute
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LongActual size in bytes of the attributeprotected StringThe MIME type of the attributeprotected StringThe attribute value in UTC, if it is a string attributeprotected StringString identifier of the attributeprotected LongThe attribute value, if it is an integer attribute(package private) static final longprotected StringThe attribute value, if it is a string attribute -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull LongReturns the contentLength.@NotNull StringReturns the contentType.@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") StringReturns the dateValue.@NotNull StringgetId()Returns the id.Returns the integerValue.Returns the stringValue.inthashCode()voidsetContentLength(Long contentLength) Set the contentLength.voidsetContentType(String contentType) Set the contentType.voidsetDateValue(String dateValue) Set the dateValue.voidSet the id.voidsetIntegerValue(Long integerValue) Set the integerValue.voidsetStringValue(String stringValue) Set the stringValue.toString()
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
id
String identifier of the attribute -
contentType
The MIME type of the attribute -
contentLength
Actual size in bytes of the attribute -
stringValue
The attribute value, if it is a string attribute -
dateValue
The attribute value in UTC, if it is a string attribute -
integerValue
The attribute value, if it is an integer attribute
-
-
Constructor Details
-
Method Details
-
getId
Returns the id.- Returns:
- id
-
setId
Set the id.- Parameters:
id- the new id
-
getContentType
Returns the contentType.- Returns:
- contentType
-
setContentType
Set the contentType.- Parameters:
contentType- the new contentType
-
getContentLength
Returns the contentLength.- Returns:
- contentLength
-
setContentLength
Set the contentLength.- Parameters:
contentLength- the new contentLength
-
getStringValue
Returns the stringValue.- Returns:
- stringValue
-
setStringValue
Set the stringValue.- Parameters:
stringValue- the new stringValue
-
getDateValue
@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") public @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") String getDateValue()Returns the dateValue.- Returns:
- dateValue
-
setDateValue
Set the dateValue.- Parameters:
dateValue- the new dateValue
-
getIntegerValue
Returns the integerValue.- Returns:
- integerValue
-
setIntegerValue
Set the integerValue.- Parameters:
integerValue- the new integerValue
-
hashCode
public int hashCode() -
equals
-
toString
-