org.deegree_impl.services.wfs.configuration
Class Reference_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wfs.configuration.Reference_Impl
All Implemented Interfaces:
Reference

public class Reference_Impl
extends java.lang.Object
implements Reference

the interface describes a reference from one table to another

---------------------------------------------------------------------

Version:
$Revision: 1.4 $ $Date: 2004/05/10 08:41:07 $
Author:
Andreas Poth

Field Summary
private  boolean replaceable
           
private  java.lang.String tableField
           
private  java.lang.String targetField
           
private  java.lang.String targetTable
           
 
Constructor Summary
(package private) Reference_Impl(java.lang.String tableField, boolean replaceable, java.lang.String targetTable, java.lang.String targetField)
          Creates a new Reference_Impl object.
 
Method Summary
 java.lang.String getTableField()
          returns the name of the field of the source table that is used as reference to another table
 java.lang.String getTargetField()
          returns the name of the field of the target table that matches the source tables reference field (@see getTableField)
 java.lang.String getTargetTable()
          returns the name of the table targeted by the reference. in the case of a shapefile datastore this is the name of another shapefile without extension
 boolean isReplaceable()
          returns true if the reference field of the source table shall be replaced by the referenced data
 void setReplaceable(boolean replaceable)
           
 void setTableField(java.lang.String tableField)
           
 void setTargetField(java.lang.String targetField)
           
 void setTargetTable(java.lang.String targetTable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tableField

private java.lang.String tableField

targetField

private java.lang.String targetField

targetTable

private java.lang.String targetTable

replaceable

private boolean replaceable
Constructor Detail

Reference_Impl

Reference_Impl(java.lang.String tableField,
               boolean replaceable,
               java.lang.String targetTable,
               java.lang.String targetField)
Creates a new Reference_Impl object.

Parameters:
tableField -
replaceable -
targetTable -
targetField -
Method Detail

getTableField

public java.lang.String getTableField()
returns the name of the field of the source table that is used as reference to another table

Specified by:
getTableField in interface Reference

setTableField

public void setTableField(java.lang.String tableField)
See Also:
getTableField()

isReplaceable

public boolean isReplaceable()
returns true if the reference field of the source table shall be replaced by the referenced data

Specified by:
isReplaceable in interface Reference

setReplaceable

public void setReplaceable(boolean replaceable)
See Also:
isReplaceable()

getTargetTable

public java.lang.String getTargetTable()
returns the name of the table targeted by the reference. in the case of a shapefile datastore this is the name of another shapefile without extension

Specified by:
getTargetTable in interface Reference

setTargetTable

public void setTargetTable(java.lang.String targetTable)
See Also:
getTargetTable()

getTargetField

public java.lang.String getTargetField()
returns the name of the field of the target table that matches the source tables reference field (@see getTableField)

Specified by:
getTargetField in interface Reference

setTargetField

public void setTargetField(java.lang.String targetField)