Class DetailData
java.lang.Object
com.hack23.cia.model.external.riksdagen.person.impl.DetailData
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject,java.io.Serializable
@Entity(name="DetailData")
public class DetailData
extends java.lang.Object
implements com.hack23.cia.model.common.api.ModelObject
The Class DetailData.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected java.lang.StringThe code.protected java.lang.StringThe detail.protected java.lang.StringThe detail type.protected java.lang.LongThe hjid.protected java.lang.StringThe intressent id. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(java.lang.Object object) java.lang.StringgetCode()Gets the code.java.lang.StringGets the detail.java.lang.StringGets the detail type.java.lang.LonggetHjid()Gets the hjid.java.lang.StringGets the intressent id.final inthashCode()voidsetCode(java.lang.String value) Sets the code.voidsetDetail(java.lang.String value) Sets the detail.voidsetDetailType(java.lang.String value) Sets the detail type.voidsetHjid(java.lang.Long value) Sets the hjid.voidsetIntressentId(java.lang.String value) Sets the intressent id.final java.lang.StringtoString()withCode(java.lang.String value) With code.withDetail(java.lang.String value) With detail.withDetailType(java.lang.String value) With detail type.withIntressentId(java.lang.String value) With intressent id.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
intressentId
protected java.lang.String intressentIdThe intressent id. -
detailType
protected java.lang.String detailTypeThe detail type. -
detail
protected java.lang.String detailThe detail. -
code
protected java.lang.String codeThe code. -
hjid
protected java.lang.Long hjidThe hjid.
-
-
Constructor Details
-
DetailData
public DetailData()Instantiates a new detaildata.
-
-
Method Details
-
getIntressentId
public java.lang.String getIntressentId()Gets the intressent id.- Returns:
- the intressent id
-
setIntressentId
public void setIntressentId(java.lang.String value) Sets the intressent id.- Parameters:
value- the new intressent id
-
getDetailType
public java.lang.String getDetailType()Gets the detail type.- Returns:
- the detail type
-
setDetailType
public void setDetailType(java.lang.String value) Sets the detail type.- Parameters:
value- the new detail type
-
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
-
getCode
public java.lang.String getCode()Gets the code.- Returns:
- the code
-
setCode
public void setCode(java.lang.String value) Sets the code.- Parameters:
value- the new code
-
withIntressentId
With intressent id.- Parameters:
value- the value- Returns:
- the detail data
-
withDetailType
With detail type.- Parameters:
value- the value- Returns:
- the detail data
-
withDetail
With detail.- Parameters:
value- the value- Returns:
- the detail data
-
withCode
With code.- Parameters:
value- the value- Returns:
- the detail data
-
toString
public final java.lang.String toString()- Overrides:
toStringin 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:
equalsin classjava.lang.Object
-
hashCode
public final int hashCode()- Overrides:
hashCodein classjava.lang.Object
-