Class DocumentReferenceData
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentReferenceData
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="DocumentReferenceData") public class DocumentReferenceData extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class DocumentReferenceData.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
detail
The detail.protected java.lang.Long
hjid
The hjid.protected java.lang.String
referenceDocumentId
The reference document id.protected ReferenceType
referenceType
The reference type.
-
Constructor Summary
Constructors Constructor Description DocumentReferenceData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.String
getDetail()
Gets the detail.java.lang.Long
getHjid()
Gets the hjid.java.lang.String
getReferenceDocumentId()
Gets the reference document id.ReferenceType
getReferenceType()
Gets the reference type.int
hashCode()
void
setDetail(java.lang.String value)
Sets the detail.void
setHjid(java.lang.Long value)
Sets the hjid.void
setReferenceDocumentId(java.lang.String value)
Sets the reference document id.void
setReferenceType(ReferenceType value)
Sets the reference type.java.lang.String
toString()
DocumentReferenceData
withDetail(java.lang.String value)
With detail.DocumentReferenceData
withReferenceDocumentId(java.lang.String value)
With reference document id.DocumentReferenceData
withReferenceType(ReferenceType value)
With reference type.
-
-
-
Field Detail
-
referenceType
protected ReferenceType referenceType
The reference type.
-
referenceDocumentId
protected java.lang.String referenceDocumentId
The reference document id.
-
detail
protected java.lang.String detail
The detail.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getReferenceType
public ReferenceType getReferenceType()
Gets the reference type.- Returns:
- the reference type
-
setReferenceType
public void setReferenceType(ReferenceType value)
Sets the reference type.- Parameters:
value
- the new reference type
-
getReferenceDocumentId
public java.lang.String getReferenceDocumentId()
Gets the reference document id.- Returns:
- the reference document id
-
setReferenceDocumentId
public void setReferenceDocumentId(java.lang.String value)
Sets the reference document id.- Parameters:
value
- the new reference document id
-
getDetail
public java.lang.String getDetail()
Gets the detail.- Returns:
- the detail
-
setDetail
public void setDetail(java.lang.String value)
Sets the detail.- Parameters:
value
- the new detail
-
withReferenceType
public DocumentReferenceData withReferenceType(ReferenceType value)
With reference type.- Parameters:
value
- the value- Returns:
- the document reference data
-
withReferenceDocumentId
public DocumentReferenceData withReferenceDocumentId(java.lang.String value)
With reference document id.- Parameters:
value
- the value- Returns:
- the document reference data
-
withDetail
public DocumentReferenceData withDetail(java.lang.String value)
With detail.- Parameters:
value
- the value- Returns:
- the document reference data
-
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
-
-