Package com.saperion.wf
Class CommentInfoImpl
- java.lang.Object
-
- com.saperion.wf.CommentInfoImpl
-
- All Implemented Interfaces:
CommentInfo
,java.io.Serializable
public final class CommentInfoImpl extends java.lang.Object implements CommentInfo
- Author:
- rbo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommentInfoImpl(int idx, int kind, int level, java.lang.String comment, java.util.Date createDate, int historyId, java.lang.String userName)
Constructor.CommentInfoImpl(com.saperion.jni.SaJNIWfComment jniComment, int idx)
Constructor from JNI comment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCommentKind()
int
getCommentLevel()
java.lang.String
getCommentString()
java.util.Date
getDate()
int
getHistId()
int
getIndex()
java.lang.String
getUser()
void
writeXML(org.xml.sax.ContentHandler hd, java.lang.String partName)
Writes data as xml part.
-
-
-
Constructor Detail
-
CommentInfoImpl
public CommentInfoImpl(int idx, int kind, int level, java.lang.String comment, java.util.Date createDate, int historyId, java.lang.String userName)
Constructor.- Parameters:
idx
- Indexkind
- Kindlevel
- Levelcomment
- CommentcreateDate
- DatehistoryId
- History IDuserName
- Username
-
CommentInfoImpl
public CommentInfoImpl(com.saperion.jni.SaJNIWfComment jniComment, int idx)
Constructor from JNI comment.- Parameters:
jniComment
- JNI commentidx
- Index
-
-
Method Detail
-
getIndex
public int getIndex()
- Specified by:
getIndex
in interfaceCommentInfo
- Returns:
- the index
- See Also:
CommentInfo.getIndex()
-
getDate
public java.util.Date getDate()
- Specified by:
getDate
in interfaceCommentInfo
- Returns:
- the date
- See Also:
CommentInfo.getDate()
-
getUser
public java.lang.String getUser()
- Specified by:
getUser
in interfaceCommentInfo
- Returns:
- the user
- See Also:
CommentInfo.getUser()
-
getCommentKind
public int getCommentKind()
- Specified by:
getCommentKind
in interfaceCommentInfo
- Returns:
- the commentKind
- See Also:
CommentInfo.getCommentKind()
-
getCommentLevel
public int getCommentLevel()
- Specified by:
getCommentLevel
in interfaceCommentInfo
- Returns:
- the commentLevel
- See Also:
CommentInfo.getCommentLevel()
-
getHistId
public int getHistId()
- Specified by:
getHistId
in interfaceCommentInfo
- Returns:
- the histId
- See Also:
CommentInfo.getHistId()
-
getCommentString
public java.lang.String getCommentString()
- Specified by:
getCommentString
in interfaceCommentInfo
- Returns:
- the commentString
- See Also:
CommentInfo.getCommentString()
-
writeXML
public void writeXML(org.xml.sax.ContentHandler hd, java.lang.String partName) throws org.xml.sax.SAXException
Writes data as xml part.- Parameters:
hd
- Content handlerpartName
- Part name- Throws:
org.xml.sax.SAXException
- Exception
-
-