public final class RevisionRoleDeclarationFnd extends FileNode<RevisionRoleDeclarationFnd>
Gets a new additional revision role value to associate with a revision.
Constructor and Description |
---|
RevisionRoleDeclarationFnd(FileNodeHeader header,
ExtendedGuid rid,
int revisionRole)
Initializes a new instance of the
RevisionRoleDeclarationFnd class. |
Modifier and Type | Method and Description |
---|---|
void |
accept(IFileNodeVisitor visitor)
The accept.
|
boolean |
equals(RevisionRoleDeclarationFnd other)
The equals.
|
int |
getRevisionRole()
Gets a revision role for the default context.
|
ExtendedGuid |
getRid()
Gets the identity of the revision to add the revision role to
|
long |
getStructSize()
Gets the struct size.
|
byte[] |
toByteArray()
The to byte array.
|
public RevisionRoleDeclarationFnd(FileNodeHeader header, ExtendedGuid rid, int revisionRole)
Initializes a new instance of the RevisionRoleDeclarationFnd
class.
header
- The header.rid
- The rid.revisionRole
- The revision role.public ExtendedGuid getRid()
Gets the identity of the revision to add the revision role to
public int getRevisionRole()
Gets a revision role for the default context.
public long getStructSize()
Gets the struct size.
getStructSize
in interface IBinarySerializable
getStructSize
in class FileNode<RevisionRoleDeclarationFnd>
public void accept(IFileNodeVisitor visitor)
The accept.
accept
in interface IFileNode
accept
in class FileNode<RevisionRoleDeclarationFnd>
visitor
- The visitor.public byte[] toByteArray()
The to byte array.
toByteArray
in interface IBinarySerializable
toByteArray
in class FileNode<RevisionRoleDeclarationFnd>
T:byte[]
.com.aspose.ms.System.InvalidOperationException
- Incorrect buffer size.public boolean equals(RevisionRoleDeclarationFnd other)
The equals.
other
- The other.bool
.Copyright (c) 2016 Aspose. All Rights Reserved.