public class EscherSimpleProperty extends EscherProperty
Modifier and Type | Field and Description |
---|---|
protected int |
propertyValue |
id
Constructor and Description |
---|
EscherSimpleProperty(short propertyNumber,
boolean isComplex,
boolean isBlipId,
int propertyValue)
Constructs a new escher property.
|
EscherSimpleProperty(short id,
int propertyValue)
The id is distinct from the actual property number.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Returns true if one escher property is equal to another.
|
int |
getPropertyValue() |
int |
hashCode()
Returns a hashcode so that this object can be stored in collections that
require the use of such things.
|
int |
serializeComplexPart(byte[] data,
int pos)
Escher properties consist of a simple fixed length part and a complex variable length part.
|
int |
serializeSimplePart(byte[] data,
int offset)
Serialize the simple part of the escher record.
|
java.lang.String |
toString() |
getId, getName, getPropertyNumber, getPropertySize, isBlipId, isComplex
public EscherSimpleProperty(short id, int propertyValue)
public EscherSimpleProperty(short propertyNumber, boolean isComplex, boolean isBlipId, int propertyValue)
public int serializeSimplePart(byte[] data, int offset)
serializeSimplePart
in class EscherProperty
public int serializeComplexPart(byte[] data, int pos)
serializeComplexPart
in class EscherProperty
public int getPropertyValue()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 Open Microscopy Environment