Class DetailElement
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.personlista.impl.DetailElement
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="DetailElement") public class DetailElement extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class DetailElement.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
code
The code.protected java.lang.String
detail
The detail.protected java.lang.String
detailType
The detail type.protected java.lang.Long
hjid
The hjid.protected java.lang.String
intressentId
The intressent id.
-
Constructor Summary
Constructors Constructor Description DetailElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.String
getCode()
Gets the code.java.lang.String
getDetail()
Gets the detail.java.lang.String
getDetailType()
Gets the detail type.java.lang.Long
getHjid()
Gets the hjid.java.lang.String
getIntressentId()
Gets the intressent id.int
hashCode()
void
setCode(java.lang.String value)
Sets the code.void
setDetail(java.lang.String value)
Sets the detail.void
setDetailType(java.lang.String value)
Sets the detail type.void
setHjid(java.lang.Long value)
Sets the hjid.void
setIntressentId(java.lang.String value)
Sets the intressent id.java.lang.String
toString()
DetailElement
withCode(java.lang.String value)
With code.DetailElement
withDetail(java.lang.String value)
With detail.DetailElement
withDetailType(java.lang.String value)
With detail type.DetailElement
withIntressentId(java.lang.String value)
With intressent id.
-
-
-
Method Detail
-
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
public DetailElement withIntressentId(java.lang.String value)
With intressent id.- Parameters:
value
- the value- Returns:
- the detail element
-
withDetailType
public DetailElement withDetailType(java.lang.String value)
With detail type.- Parameters:
value
- the value- Returns:
- the detail element
-
withDetail
public DetailElement withDetail(java.lang.String value)
With detail.- Parameters:
value
- the value- Returns:
- the detail element
-
withCode
public DetailElement withCode(java.lang.String value)
With code.- Parameters:
value
- the value- Returns:
- the detail element
-
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
-
-