Class DocumentAttachment
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentAttachment
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="DocumentAttachment") public class DocumentAttachment extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class DocumentAttachment.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
fileName
The file name.protected java.math.BigInteger
fileSize
The file size.protected java.lang.String
fileType
The file type.protected java.lang.String
fileUrl
The file url.protected java.lang.Long
hjid
The hjid.
-
Constructor Summary
Constructors Constructor Description DocumentAttachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.String
getFileName()
Gets the file name.java.math.BigInteger
getFileSize()
Gets the file size.java.lang.String
getFileType()
Gets the file type.java.lang.String
getFileUrl()
Gets the file url.java.lang.Long
getHjid()
Gets the hjid.int
hashCode()
void
setFileName(java.lang.String value)
Sets the file name.void
setFileSize(java.math.BigInteger value)
Sets the file size.void
setFileType(java.lang.String value)
Sets the file type.void
setFileUrl(java.lang.String value)
Sets the file url.void
setHjid(java.lang.Long value)
Sets the hjid.java.lang.String
toString()
DocumentAttachment
withFileName(java.lang.String value)
With file name.DocumentAttachment
withFileSize(java.math.BigInteger value)
With file size.DocumentAttachment
withFileType(java.lang.String value)
With file type.DocumentAttachment
withFileUrl(java.lang.String value)
With file url.
-
-
-
Method Detail
-
getFileName
public java.lang.String getFileName()
Gets the file name.- Returns:
- the file name
-
setFileName
public void setFileName(java.lang.String value)
Sets the file name.- Parameters:
value
- the new file name
-
getFileSize
public java.math.BigInteger getFileSize()
Gets the file size.- Returns:
- the file size
-
setFileSize
public void setFileSize(java.math.BigInteger value)
Sets the file size.- Parameters:
value
- the new file size
-
getFileType
public java.lang.String getFileType()
Gets the file type.- Returns:
- the file type
-
setFileType
public void setFileType(java.lang.String value)
Sets the file type.- Parameters:
value
- the new file type
-
getFileUrl
public java.lang.String getFileUrl()
Gets the file url.- Returns:
- the file url
-
setFileUrl
public void setFileUrl(java.lang.String value)
Sets the file url.- Parameters:
value
- the new file url
-
withFileName
public DocumentAttachment withFileName(java.lang.String value)
With file name.- Parameters:
value
- the value- Returns:
- the document attachment
-
withFileSize
public DocumentAttachment withFileSize(java.math.BigInteger value)
With file size.- Parameters:
value
- the value- Returns:
- the document attachment
-
withFileType
public DocumentAttachment withFileType(java.lang.String value)
With file type.- Parameters:
value
- the value- Returns:
- the document attachment
-
withFileUrl
public DocumentAttachment withFileUrl(java.lang.String value)
With file url.- Parameters:
value
- the value- Returns:
- the document attachment
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getHjid
public java.lang.Long getHjid()
Gets the hjid.- Returns:
- the hjid
-
setHjid
public void setHjid(java.lang.Long value)
Sets the hjid.- Parameters:
value
- the new hjid
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-