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 intgetCommentKind()intgetCommentLevel()java.lang.StringgetCommentString()java.util.DategetDate()intgetHistId()intgetIndex()java.lang.StringgetUser()voidwriteXML(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:
getIndexin interfaceCommentInfo- Returns:
- the index
- See Also:
CommentInfo.getIndex()
-
getDate
public java.util.Date getDate()
- Specified by:
getDatein interfaceCommentInfo- Returns:
- the date
- See Also:
CommentInfo.getDate()
-
getUser
public java.lang.String getUser()
- Specified by:
getUserin interfaceCommentInfo- Returns:
- the user
- See Also:
CommentInfo.getUser()
-
getCommentKind
public int getCommentKind()
- Specified by:
getCommentKindin interfaceCommentInfo- Returns:
- the commentKind
- See Also:
CommentInfo.getCommentKind()
-
getCommentLevel
public int getCommentLevel()
- Specified by:
getCommentLevelin interfaceCommentInfo- Returns:
- the commentLevel
- See Also:
CommentInfo.getCommentLevel()
-
getHistId
public int getHistId()
- Specified by:
getHistIdin interfaceCommentInfo- Returns:
- the histId
- See Also:
CommentInfo.getHistId()
-
getCommentString
public java.lang.String getCommentString()
- Specified by:
getCommentStringin 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.SAXExceptionWrites data as xml part.- Parameters:
hd- Content handlerpartName- Part name- Throws:
org.xml.sax.SAXException- Exception
-
-