org.deegree.services.wpvs.io
Class DataObjectInfo<P extends PositionableModel>

java.lang.Object
  extended by org.deegree.services.wpvs.io.DataObjectInfo<P>
Type Parameters:
P -

public class DataObjectInfo<P extends PositionableModel>
extends Object

The DataObjectInfo class wraps the information needed to fill the backend into one class.

Version:
$Revision: 30127 $, $Date: 2011-03-22 11:11:12 +0100 (Tue, 22 Mar 2011) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

Constructor Summary
DataObjectInfo(String uuid, String type, String name, String externalRef, Envelope envelope, P data)
           
DataObjectInfo(String uuid, String type, String name, String externalRef, Envelope envelope, P data, long time)
           
 
Method Summary
 P getData()
           
 Envelope getEnvelope()
           
 String getExternalRef()
           
 int getInsertedOrdinates()
           
 int getInsertedTextureOrdinates()
           
 String getName()
           
 byte[] getSerializedData()
           
 long getTime()
           
 String getType()
           
 String getUuid()
           
 void setData(P data)
           
 void setEnvelope(Envelope envelope)
           
 void setExternalRef(String externalRef)
           
 void setInsertedOrdinates(int insertedOrdinates)
           
 void setInsertedTextureOrdinates(int insertedTextureOrdinates)
           
 void setName(String name)
           
 void setSerializedData(byte[] serializedData)
           
 void setTime(long time)
           
 void setType(String type)
           
 void setUuid(String uuid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataObjectInfo

public DataObjectInfo(String uuid,
                      String type,
                      String name,
                      String externalRef,
                      Envelope envelope,
                      P data)
Parameters:
uuid -
type -
name -
externalRef -
envelope -
data -

DataObjectInfo

public DataObjectInfo(String uuid,
                      String type,
                      String name,
                      String externalRef,
                      Envelope envelope,
                      P data,
                      long time)
Parameters:
uuid -
type -
name -
externalRef -
envelope -
data -
time -
Method Detail

getUuid

public final String getUuid()
Returns:
the uuid

getType

public final String getType()
Returns:
the type

getName

public final String getName()
Returns:
the name

getExternalRef

public final String getExternalRef()
Returns:
the externalRef

getEnvelope

public final Envelope getEnvelope()
Returns:
the envelope

getData

public final P getData()
Returns:
the data

getTime

public long getTime()
Returns:
the time

getSerializedData

public final byte[] getSerializedData()
Returns:
the serializedData

setSerializedData

public final void setSerializedData(byte[] serializedData)
Parameters:
serializedData - the serializedData to set

setUuid

public final void setUuid(String uuid)
Parameters:
uuid - the uuid to set

setType

public final void setType(String type)
Parameters:
type - the type to set

setName

public final void setName(String name)
Parameters:
name - the name to set

setExternalRef

public final void setExternalRef(String externalRef)
Parameters:
externalRef - the externalRef to set

setEnvelope

public final void setEnvelope(Envelope envelope)
Parameters:
envelope - the envelope to set

setData

public final void setData(P data)
Parameters:
data - the data to set

setTime

public final void setTime(long time)
Parameters:
time - the time to set

setInsertedOrdinates

public final void setInsertedOrdinates(int insertedOrdinates)
Parameters:
insertedOrdinates - the insertedOrdinates to set

setInsertedTextureOrdinates

public final void setInsertedTextureOrdinates(int insertedTextureOrdinates)
Parameters:
insertedTextureOrdinates - the insertedTextureOrdinates to set

getInsertedOrdinates

public final int getInsertedOrdinates()
Returns:
the insertedOrdinates

getInsertedTextureOrdinates

public final int getInsertedTextureOrdinates()
Returns:
the insertedTextureOrdinates


Copyright © 2011. All Rights Reserved.