Class DocumentAttachment
java.lang.Object
com.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentAttachment
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject,Serializable
@Entity(name="DocumentAttachment")
public class DocumentAttachment
extends Object
implements com.hack23.cia.model.common.api.ModelObject
The Class DocumentAttachment.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the file name.Gets the file size.Gets the file type.Gets the file url.getHjid()Gets the hjid.final inthashCode()voidsetFileName(String value) Sets the file name.voidsetFileSize(BigInteger value) Sets the file size.voidsetFileType(String value) Sets the file type.voidsetFileUrl(String value) Sets the file url.voidSets the hjid.final StringtoString()withFileName(String value) With file name.withFileSize(BigInteger value) With file size.withFileType(String value) With file type.withFileUrl(String value) With file url.
-
Field Details
-
fileName
The file name. -
fileSize
The file size. -
fileType
The file type. -
fileUrl
The file url. -
hjid
The hjid.
-
-
Constructor Details
-
DocumentAttachment
public DocumentAttachment()
-
-
Method Details
-
getFileName
Gets the file name.- Returns:
- the file name
-
setFileName
Sets the file name.- Parameters:
value- the new file name
-
getFileSize
Gets the file size.- Returns:
- the file size
-
setFileSize
Sets the file size.- Parameters:
value- the new file size
-
getFileType
Gets the file type.- Returns:
- the file type
-
setFileType
Sets the file type.- Parameters:
value- the new file type
-
getFileUrl
Gets the file url.- Returns:
- the file url
-
setFileUrl
Sets the file url.- Parameters:
value- the new file url
-
withFileName
With file name.- Parameters:
value- the value- Returns:
- the document attachment
-
withFileSize
With file size.- Parameters:
value- the value- Returns:
- the document attachment
-
withFileType
With file type.- Parameters:
value- the value- Returns:
- the document attachment
-
withFileUrl
With file url.- Parameters:
value- the value- Returns:
- the document attachment
-
toString
-
getHjid
Gets the hjid.- Returns:
- the hjid
-
setHjid
Sets the hjid.- Parameters:
value- the new hjid
-
equals
-
hashCode
public final int hashCode()
-