org.objectweb.medor.lib

Class BasicField

Implemented Interfaces:
Cloneable, Field, NullStatus
Known Direct Subclasses:
BasicQueryTreeField, BasicRdbField

public class BasicField
extends BasicCloneable
implements Field

MEDOR: Middleware Enabling Distributed Object Requests Copyright (C) 2001-2003 France Telecom R&D Contact: alexandre.lefebvre@rd.francetelecom.com This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Initial developers: M. Alia, A. Lefebvre, S. Chassande-Barrioz

Field Summary

protected Logger
logger
protected String
name
protected PType
type
protected short
valueState

Fields inherited from interface org.objectweb.medor.api.Field

PNAMENAME

Fields inherited from interface org.objectweb.medor.api.NullStatus

NONULLS, NULLABLE, NULLABLEUNKNOWN

Constructor Summary

BasicField()
BasicField(String name)
BasicField(String name, PType type)
BasicField(String name, PType type, short valueState)

Method Summary

Object
clone(Object clone, Map obj2clone)
String
getName()
short
getNullStatus()
PType
getType()
String
toString()

Field Details

logger

protected Logger logger


name

protected String name


type

protected PType type


valueState

protected short valueState

Constructor Details

BasicField

public BasicField()


BasicField

public BasicField(String name)


BasicField

public BasicField(String name,
                  PType type)


BasicField

public BasicField(String name,
                  PType type,
                  short valueState)
            throws MedorException

Method Details

clone

public Object clone(Object clone,
                    Map obj2clone)
            throws CloneNotSupportedException


getName

public String getName()
Specified by:
getName in interface Field


getNullStatus

public short getNullStatus()
Specified by:
getNullStatus in interface Field


getType

public PType getType()
Specified by:
getType in interface Field


toString

public String toString()