public class RawLayerData extends java.lang.Object implements LayerData
Constructor and Description |
---|
RawLayerData(int layerId,
long transId,
boolean deleted,
java.util.ArrayList<LayerField> list,
boolean rowExists,
boolean rowFinal,
java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object> pDenormalizeMap)
The actual layer data.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
LayerField |
getLayerField(DBField field)
The value for this field/row/layer
|
int |
getLayerId()
The current layer id for this layer's row
|
java.lang.String |
getRawDenormalizedData(java.lang.String code)
The raw data
|
long |
getTransId()
The current transaction number for this layer's row
|
boolean |
hasRawField(DBField field)
Is there a value for this field in this row.
|
boolean |
hasRawRow()
Is there a raw row for this row in this layer ?
|
boolean |
isDeleted()
Is the row deleted in this layer.
|
boolean |
isDirty()
is the layer data dirty ?
|
boolean |
isFinal()
Is this layer marked as final ?
|
DBField[] |
listFields()
List all the fields
|
org.w3c.dom.Document |
makeDenormalizedDoc(java.lang.String code)
make the de-normalized
|
void |
releaseDenormalizedMemory(java.lang.String code)
release de-normalized
|
public RawLayerData(int layerId, long transId, boolean deleted, java.util.ArrayList<LayerField> list, boolean rowExists, boolean rowFinal, java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object> pDenormalizeMap)
layerId
- the layer idtransId
- The current transaction numberdeleted
- Is the record deleted.list
- The field list.rowExists
- Does the row exist ?rowFinal
- Is the row marked as final ?pDenormalizeMap
- map@CheckReturnValue @Nonnegative public int getLayerId()
getLayerId
in interface LayerData
public DBField[] listFields()
@CheckReturnValue @Nonnegative public final long getTransId()
getTransId
in interface LayerData
@CheckReturnValue public final boolean isDeleted()
@CheckReturnValue public final boolean isFinal()
@CheckReturnValue public final boolean hasRawField(DBField field)
hasRawField
in interface LayerData
field
- The field to check.public final LayerField getLayerField(DBField field)
getLayerField
in interface LayerData
field
- The field to checkpublic boolean isDirty()
public final boolean hasRawRow()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public void releaseDenormalizedMemory(java.lang.String code) throws java.lang.Exception
releaseDenormalizedMemory
in interface LayerData
code
- codejava.lang.Exception
public org.w3c.dom.Document makeDenormalizedDoc(java.lang.String code) throws java.lang.Exception
makeDenormalizedDoc
in interface LayerData
code
- codejava.lang.Exception
public java.lang.String getRawDenormalizedData(java.lang.String code)
getRawDenormalizedData
in interface LayerData
code
- codestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.