Class DocumentReferenceData
java.lang.Object
com.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentReferenceData
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject,Serializable
@Entity(name="DocumentReferenceData")
public class DocumentReferenceData
extends Object
implements com.hack23.cia.model.common.api.ModelObject
The Class DocumentReferenceData.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe detail.protected LongThe hjid.protected StringThe reference document id.protected ReferenceTypeThe reference type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the detail.getHjid()Gets the hjid.Gets the reference document id.Gets the reference type.final inthashCode()voidSets the detail.voidSets the hjid.voidsetReferenceDocumentId(String value) Sets the reference document id.voidsetReferenceType(ReferenceType value) Sets the reference type.final StringtoString()withDetail(String value) With detail.withReferenceDocumentId(String value) With reference document id.withReferenceType(ReferenceType value) With reference type.
-
Field Details
-
referenceType
The reference type. -
referenceDocumentId
The reference document id. -
detail
The detail. -
hjid
The hjid.
-
-
Constructor Details
-
DocumentReferenceData
public DocumentReferenceData()
-
-
Method Details
-
getReferenceType
Gets the reference type.- Returns:
- the reference type
-
setReferenceType
Sets the reference type.- Parameters:
value- the new reference type
-
getReferenceDocumentId
Gets the reference document id.- Returns:
- the reference document id
-
setReferenceDocumentId
Sets the reference document id.- Parameters:
value- the new reference document id
-
getDetail
Gets the detail.- Returns:
- the detail
-
setDetail
Sets the detail.- Parameters:
value- the new detail
-
withReferenceType
With reference type.- Parameters:
value- the value- Returns:
- the document reference data
-
withReferenceDocumentId
With reference document id.- Parameters:
value- the value- Returns:
- the document reference data
-
withDetail
With detail.- Parameters:
value- the value- Returns:
- the document reference data
-
toString
-
getHjid
Gets the hjid.- Returns:
- the hjid
-
setHjid
Sets the hjid.- Parameters:
value- the new hjid
-
equals
-
hashCode
public final int hashCode()
-