public class ObjectDeclaration2Body extends Object implements IBinarySerializable, com.aspose.ms.System.IEquatable<ObjectDeclaration2Body>
Gets the identity of an object and the type of data the object contains.
Constructor and Description |
---|
ObjectDeclaration2Body(CompactId oid,
Jcid jcid,
boolean fHasOidReferences,
boolean fHasOsidReferences)
Initializes a new instance of the
ObjectDeclaration2Body class. |
ObjectDeclaration2Body(CompactId oid,
Jcid jcid,
boolean fHasOidReferences,
boolean fHasOsidReferences,
com.aspose.ms.System.Collections.BitArray fReserved2)
Initializes a new instance of the
ObjectDeclaration2Body class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ObjectDeclaration2Body other)
The equals.
|
boolean |
getFHasOidReferences()
Gets a value indicating whether this object contains references to other objects.
|
boolean |
getFHasOsidReferences()
Gets a value indicating whether this object contains references to object spaces or contexts.
|
com.aspose.ms.System.Collections.BitArray |
getFReserved2()
Gets a reserved value.
|
Jcid |
getJcid()
Gets the type of data this object contains.
|
CompactId |
getOid()
Gets or sets the identity of this object.
|
long |
getStructSize()
Gets the struct size.
|
byte[] |
toByteArray()
The to byte array.
|
String |
toString()
The to string.
|
public ObjectDeclaration2Body(CompactId oid, Jcid jcid, boolean fHasOidReferences, boolean fHasOsidReferences, com.aspose.ms.System.Collections.BitArray fReserved2)
Initializes a new instance of the ObjectDeclaration2Body
class.
public CompactId getOid()
Gets or sets the identity of this object.
public Jcid getJcid()
Gets the type of data this object contains.
public boolean getFHasOidReferences()
Gets a value indicating whether this object contains references to other objects.
public boolean getFHasOsidReferences()
Gets a value indicating whether this object contains references to object spaces or contexts.
public com.aspose.ms.System.Collections.BitArray getFReserved2()
Gets a reserved value. Must be zero, and MUST be ignored.
public long getStructSize()
Gets the struct size.
getStructSize
in interface IBinarySerializable
public byte[] toByteArray()
The to byte array.
toByteArray
in interface IBinarySerializable
T:byte[]
.com.aspose.ms.System.InvalidOperationException
- Incorrect buffer size.public boolean equals(ObjectDeclaration2Body other)
The equals.
other
- The other.bool
.Copyright (c) 2016 Aspose. All Rights Reserved.