Class DocumentContentData
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.documentcontent.impl.DocumentContentData
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="DocumentContentData") @Indexed public class DocumentContentData extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class DocumentContentData.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentContentData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.String
getContent()
Gets the content.java.lang.Long
getHjid()
Gets the hjid.java.lang.String
getId()
Gets the id.int
hashCode()
void
setContent(java.lang.String value)
Sets the content.void
setHjid(java.lang.Long value)
Sets the hjid.void
setId(java.lang.String value)
Sets the id.java.lang.String
toString()
DocumentContentData
withContent(java.lang.String value)
With content.DocumentContentData
withId(java.lang.String value)
With id.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets the id.- Returns:
- the id
-
setId
public void setId(java.lang.String value)
Sets the id.- Parameters:
value
- the new id
-
getContent
public java.lang.String getContent()
Gets the content.- Returns:
- the content
-
setContent
public void setContent(java.lang.String value)
Sets the content.- Parameters:
value
- the new content
-
withId
public DocumentContentData withId(java.lang.String value)
With id.- Parameters:
value
- the value- Returns:
- the document content data
-
withContent
public DocumentContentData withContent(java.lang.String value)
With content.- Parameters:
value
- the value- Returns:
- the document content 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
-
-