ru.goodidea.df.dictionary
Class EnumField

java.lang.Object
  extended by ru.goodidea.df.dictionary.datasource.FieldAbstract
      extended by ru.goodidea.df.dictionary.Field
          extended by ru.goodidea.df.dictionary.EnumField
All Implemented Interfaces:
java.io.Serializable, PanelBuildable, XMLable, XMLFillable

public class EnumField
extends Field
implements java.io.Serializable, XMLFillable

Title:

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
Konstantin Pupkov
See Also:
Serialized Form

Field Summary
static java.lang.String HIBERNATE_ENTITY_NAME
           
static java.lang.String NODE_JNDI
           
 
Fields inherited from interface ru.goodidea.df.xml.XMLFillable
ATTRIBUTE_HEIGHT, ATTRIBUTE_WIDTH, ATTRIBUTE_X, ATTRIBUTE_Y
 
Constructor Summary
EnumField()
           
EnumField(Componentable componentable)
           
EnumField(EnumDataSource dataSource, FieldModel model, java.lang.String hibernateEntityName)
           
EnumField(java.lang.String jndi, javax.naming.InitialContext ctx, DefaultDocument doc, java.lang.String hibernateEntityName)
           
 
Method Summary
 void fillXML(org.w3c.dom.Element root)
          fillXML
 AbstractDataSource getDataSource()
           
 java.lang.Object getValue()
           
 void restoreXML(org.w3c.dom.Element root)
           
 void setDataSource(AbstractDataSource dataSource)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class ru.goodidea.df.dictionary.Field
getComponentable, getName, setName
 
Methods inherited from class ru.goodidea.df.dictionary.datasource.FieldAbstract
equals, getConstraint, getLabel, getModel, getType, hashCode, setConstraint
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ru.goodidea.df.ui.PanelBuildable
getConstraint, getLabel, setConstraint
 

Field Detail

NODE_JNDI

public static final java.lang.String NODE_JNDI
See Also:
Constant Field Values

HIBERNATE_ENTITY_NAME

public static final java.lang.String HIBERNATE_ENTITY_NAME
See Also:
Constant Field Values
Constructor Detail

EnumField

public EnumField()

EnumField

public EnumField(java.lang.String jndi,
                 javax.naming.InitialContext ctx,
                 DefaultDocument doc,
                 java.lang.String hibernateEntityName)

EnumField

public EnumField(EnumDataSource dataSource,
                 FieldModel model,
                 java.lang.String hibernateEntityName)

EnumField

public EnumField(Componentable componentable)
Method Detail

getDataSource

public AbstractDataSource getDataSource()

setDataSource

public void setDataSource(AbstractDataSource dataSource)

fillXML

public void fillXML(org.w3c.dom.Element root)
fillXML

Specified by:
fillXML in interface XMLFillable
Overrides:
fillXML in class Field
Parameters:
root - Element

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in class Field

getValue

public java.lang.Object getValue()
Specified by:
getValue in class Field

restoreXML

public void restoreXML(org.w3c.dom.Element root)
Specified by:
restoreXML in interface XMLable
Overrides:
restoreXML in class Field


Copyright © 2009. All Rights Reserved.