|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.finalist.mmbase.uml.MMBaseAttributeVo
public class MMBaseAttributeVo
Value object that models all attributes of a class including the attributes defined in super classes and in the implemented interfaces Copyright 2003 Finalist IT-Group -- all rights reserved
Constructor Summary | |
---|---|
MMBaseAttributeVo(java.lang.String attributeName,
java.lang.String attributeType,
java.util.Collection stereotypes,
java.lang.String documentation,
java.lang.String visibility,
java.lang.String databaseType,
java.lang.String prompt,
java.lang.String dbSize,
java.lang.String minSize,
java.lang.String maxSize,
java.lang.String fieldType,
java.lang.String optionListDefinition,
java.lang.String defaultValue,
boolean system)
The constructor |
Method Summary | |
---|---|
java.lang.String |
getAttributeName()
Getter of the attribute name. |
java.util.Collection |
getAttributeStrereotypes()
|
java.lang.String |
getAttributeType()
Getter of the attribute type. |
java.lang.String |
getDatabaseSize()
Getter of the database size |
java.lang.String |
getDatabaseType()
getter database type. |
java.lang.String |
getDefaultValue()
Get default value. |
java.lang.String |
getDocumentation()
Get documentation |
java.lang.String |
getFieldType()
get fieldtype |
java.lang.String |
getMaxSize()
Getter of the maximum size. |
java.lang.String |
getMinSize()
getter of the min size. |
java.lang.String |
getOptionListDefinition()
Get optionListDefinition |
java.lang.String |
getPrompt()
Get the promptname of a field. |
java.lang.String |
getVisibility()
Getter of the visibility |
boolean |
hasStereotype(java.lang.String stereotype)
Test if this attribute has a certain stereotype |
boolean |
isRequired()
Get required. |
boolean |
isSystem()
Returns the value of system. |
void |
setAttributeName(java.lang.String attributeName)
Setter of the attribute name. |
void |
setAttributeStereoType(java.lang.String stereoType)
Setter of the stereo type. |
void |
setAttributeType(java.lang.String attributeType)
Setter of the attribute type. |
void |
setDatabaseSize(java.lang.String databaseSize)
Setter of the database size. |
void |
setDatabaseType(java.lang.String databaseType)
setter database type. |
void |
setDefaultValue(java.lang.String defaultValue)
Set the default value. |
void |
setDocumentation(java.lang.String documentation)
Set the documentation |
void |
setFieldType(java.lang.String fieldType)
setter of field type |
void |
setMaxSize(java.lang.String maxSize)
Setter of the maximum size. |
void |
setMinSize(java.lang.String minSize)
Setter of the minimum size. |
void |
setOptionListDefinition(java.lang.String optionListDefinition)
Set the optionListDefinition |
void |
setPrompt(java.lang.String prompt)
Set the promptName of a field. |
void |
setSystem(boolean system)
Sets the value of system. |
void |
setVisibility(java.lang.String visibility)
Setter of the visibility |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MMBaseAttributeVo(java.lang.String attributeName, java.lang.String attributeType, java.util.Collection stereotypes, java.lang.String documentation, java.lang.String visibility, java.lang.String databaseType, java.lang.String prompt, java.lang.String dbSize, java.lang.String minSize, java.lang.String maxSize, java.lang.String fieldType, java.lang.String optionListDefinition, java.lang.String defaultValue, boolean system)
attributeName
- Name of the attributeattributeType
- Type of the attribute as specified in the UML modelstereotypes
- Collection of stereotypes for this attributedocumentation
- Documentation on an attribute.visibility
- Attribute visibility.databaseType
- MMbase Database on which the type is mapped.prompt
- Name of the prompt used in the GUIdbSize
- Database size of the attributeminSize
- Minimum size of the attribute.maxSize
- Maximum size of the attribute.fieldType
- Type used in the gui.optionListDefinition
- Name of the definition of the list.defaultValue
- the specified initialValue of an attribute.system
- defines an attribute as a system attribute, so not for editing in the wizards..Method Detail |
---|
public java.lang.String getFieldType()
public void setFieldType(java.lang.String fieldType)
fieldType
- the field typepublic java.lang.String getDatabaseType()
public void setDatabaseType(java.lang.String databaseType)
databaseType
- the database typepublic java.lang.String getPrompt()
public void setPrompt(java.lang.String prompt)
prompt
- name of the prompt.public java.lang.String getMinSize()
public void setMinSize(java.lang.String minSize)
minSize
- the minimum size.public java.lang.String getMaxSize()
public void setMaxSize(java.lang.String maxSize)
maxSize
- the maximum size.public java.lang.String getDatabaseSize()
public void setDatabaseSize(java.lang.String databaseSize)
databaseSize
- the database size.public java.lang.String getVisibility()
public void setVisibility(java.lang.String visibility)
visibility
- the visibilitypublic java.lang.String getAttributeName()
public void setAttributeName(java.lang.String attributeName)
attributeName
- the attribute name.public java.lang.String getAttributeType()
public void setAttributeType(java.lang.String attributeType)
attributeType
- the attribute type.public void setAttributeStereoType(java.lang.String stereoType)
stereoType
- the stereotypepublic java.lang.String getDocumentation()
public void setDocumentation(java.lang.String documentation)
documentation
- the documentation.public java.lang.String getOptionListDefinition()
public void setOptionListDefinition(java.lang.String optionListDefinition)
optionListDefinition
- the name of the file that defines the list.public boolean isSystem()
public void setSystem(boolean system)
system
- Weather the attribute is a system attribute (and shoud be hidden from the editors)public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String defaultValue)
defaultValue
- the default valuepublic boolean isRequired()
public boolean hasStereotype(java.lang.String stereotype)
public java.util.Collection getAttributeStrereotypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |