com.bonevich.erj.model
Class Domain
java.lang.Object
|
+--com.bonevich.erj.model.ModelElement
|
+--com.bonevich.erj.model.Domain
- All Implemented Interfaces:
- AttributeType, ErjConstants
- public final class Domain
- extends ModelElement
- implements AttributeType
A class that represents ...
- Author:
- Jeffrey D. Bonevich
- See Also:
Attribute
| Fields inherited from interface com.bonevich.erj.ErjConstants |
EDITOR_COLOR, EDITOR_FONT, ICON_AK, ICON_DOMAIN, ICON_FK, ICON_FOREIGNKEY, ICON_NOTNULL, ICON_NULL, ICON_PK, ICON_RELATION, ICON_SCHEMA, ICON_SPLASH, INITIAL_FRAME_SIZE, LABEL_COLOR, LABEL_FILL, LABEL_FONT, LABEL_FONT_ITALIC, LABEL_FONT_SIZE, LABEL_FONTMETRICS, STATUSBAR_COLOR, STATUSBAR_FONT, STATUSBAR_FONT_ITALIC, STATUSBAR_MOD_FILL, SUBLABEL_FILL |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NEW_DOMAIN_STR
public static final java.lang.String NEW_DOMAIN_STR
- See Also:
- Constant Field Values
EMPTY_STR
public static final java.lang.String EMPTY_STR
- See Also:
- Constant Field Values
Domain
public Domain(Schema schema)
getSchema
public Schema getSchema()
getDataType
public DataType getDataType()
setDataType
public void setDataType(DataType type)
getDefaultValue
public DefaultValue getDefaultValue()
setDefaultValue
public void setDefaultValue(DefaultValue defaultValue)
getDefaultConstraint
public AttributeConstraint getDefaultConstraint()
setDefaultConstraint
public void setDefaultConstraint(AttributeConstraint defaultConstraint)
dispose
public void dispose()
- Set the type of all attributes that were members of this
Domain to the datatype of this domain.
- Specified by:
dispose in class ModelElement
accept
public void accept(ModelElementVisitor visitor)
- Specified by:
accept in class ModelElement
Copyright © 2001-2003 bonevich.com. All Rights Reserved.