ru.goodidea.df.dictionary.datasource
Class FieldModel

java.lang.Object
  extended by ru.goodidea.df.dictionary.datasource.FieldModel
All Implemented Interfaces:
java.io.Serializable, PanelBuildable

public class FieldModel
extends java.lang.Object
implements java.io.Serializable, PanelBuildable

Title:

Description:

Copyright: Copyright (c) 2004

Company:

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

Constructor Summary
  FieldModel(PropertyType type)
           
protected FieldModel(java.lang.String name, java.lang.String displayName, PropertyType type, EntityModel entity)
           
 
Method Summary
 FieldAbstract buildField(java.lang.Object value)
           
 boolean equals(java.lang.Object obj)
           
 Constraint getConstraint()
          getConstraint
 DefaultDocument getDocument()
           
 EntityModel getEntity()
           
 java.lang.String getLabel()
           
 java.lang.String getName()
           
 PropertyType getType()
           
 int hashCode()
           
 void setConstraint(Constraint constraint)
           
 void setDocument(DefaultDocument document)
           
 void setLabel(java.lang.String displayName)
           
 void setName(java.lang.String name)
           
 void setType(PropertyType type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldModel

public FieldModel(PropertyType type)

FieldModel

protected FieldModel(java.lang.String name,
                     java.lang.String displayName,
                     PropertyType type,
                     EntityModel entity)
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface PanelBuildable

setLabel

public void setLabel(java.lang.String displayName)

getType

public PropertyType getType()

setType

public void setType(PropertyType type)

getEntity

public EntityModel getEntity()

buildField

public FieldAbstract buildField(java.lang.Object value)

getConstraint

public Constraint getConstraint()
getConstraint

Specified by:
getConstraint in interface PanelBuildable
Returns:
Constraint

setConstraint

public void setConstraint(Constraint constraint)
Specified by:
setConstraint in interface PanelBuildable

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getDocument

public DefaultDocument getDocument()

setDocument

public void setDocument(DefaultDocument document)


Copyright © 2009. All Rights Reserved.