public class ObjectDeclarationWithRefCountBody extends Object implements com.aspose.ms.System.IEquatable<ObjectDeclarationWithRefCountBody>
The object declaration with ref count body.
Constructor and Description |
---|
ObjectDeclarationWithRefCountBody(CompactId oid,
long jci,
long odcs,
long fReserved1,
boolean fHasOidReferences,
boolean fHasOsidReferences,
com.aspose.ms.System.Collections.BitArray fReserved2)
Initializes a new instance of the
ObjectDeclarationWithRefCountBody class. |
Modifier and Type | Method and Description |
---|---|
ObjectDeclaration2Body |
convertToObjectDeclaration2Body()
Converts ObjectDeclarationWithRefCountBody to ObjectDeclaration2Body
|
boolean |
equals(Object other) |
boolean |
equals(ObjectDeclarationWithRefCountBody other)
The equals.
|
boolean |
getFHasOidReferences()
Gets a value indicating whether object contains references to other objects.
|
boolean |
getFHasOsidReferences()
Gets a value indicating whether object contains references to object spaces.
|
long |
getFReserved1()
Gets reserved field 1.
|
com.aspose.ms.System.Collections.BitArray |
getFReserved2()
Gets reserved field 2.
|
long |
getJci()
Gets the value of the JCID.index field of the object.
|
long |
getOdcs()
Gets whether the data contained by this object is encrypted.
|
CompactId |
getOid()
Gets the identity
|
long |
getStructSize()
Gets the struct size.
|
byte[] |
toByteArray()
The to byte array.
|
String |
toString()
The to string.
|
public ObjectDeclarationWithRefCountBody(CompactId oid, long jci, long odcs, long fReserved1, boolean fHasOidReferences, boolean fHasOsidReferences, com.aspose.ms.System.Collections.BitArray fReserved2)
Initializes a new instance of the ObjectDeclarationWithRefCountBody
class.
oid
- The OID.jci
- The JCI.odcs
- The ODCS.fReserved1
- The reserved field 1.fHasOidReferences
- The flag has OID references.fHasOsidReferences
- The flag has OSID references.fReserved2
- The reserved field 2.public CompactId getOid()
Gets the identity
public long getJci()
Gets the value of the JCID.index field of the object. MUST be 0x01
public long getOdcs()
Gets whether the data contained by this object is encrypted. MUST be zero
public long getFReserved1()
Gets reserved field 1. It must be zero, and MUST be ignored
public boolean getFHasOidReferences()
Gets a value indicating whether object contains references to other objects.
public boolean getFHasOsidReferences()
Gets a value indicating whether object contains references to object spaces. MUST be zero
public com.aspose.ms.System.Collections.BitArray getFReserved2()
Gets reserved field 2. It must be zero, and must be ignored.
public long getStructSize()
Gets the struct size.
public byte[] toByteArray()
The to byte array.
T:byte[]
.com.aspose.ms.System.InvalidOperationException
- Incorrect buffer size.public boolean equals(ObjectDeclarationWithRefCountBody other)
The equals.
other
- The other.bool
.public boolean equals(Object other)
equals
in interface com.aspose.ms.System.IEquatable<ObjectDeclarationWithRefCountBody>
equals
in class Object
public String toString()
The to string.
public ObjectDeclaration2Body convertToObjectDeclaration2Body()
Converts ObjectDeclarationWithRefCountBody to ObjectDeclaration2Body
Copyright (c) 2017 Aspose. All Rights Reserved.