com.arsdigita.formbuilder
Class AttributeMetaData
java.lang.Object
com.arsdigita.formbuilder.AttributeMetaData
- public class AttributeMetaData
- extends Object
Represents the metadata of one attribute of a AttributeMetaDataProvider
.
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/formbuilder/AttributeMetaData.java#7 $
- Author:
- Peter Marklund
Constructor Summary |
AttributeMetaData(String parameterName)
|
AttributeMetaData(String parameterName,
AttributeType attributeType)
|
AttributeMetaData(String parameterName,
boolean isRequired)
|
AttributeMetaData(String parameterName,
boolean isRequired,
boolean isMultiple)
|
AttributeMetaData(String parameterName,
String label)
|
AttributeMetaData(String parameterName,
String label,
AttributeType attributeType)
|
AttributeMetaData(String parameterName,
String label,
boolean isRequired)
|
AttributeMetaData(String parameterName,
String label,
boolean isRequired,
boolean isMultiple,
AttributeType attributeType)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
AttributeMetaData
public AttributeMetaData(String parameterName)
AttributeMetaData
public AttributeMetaData(String parameterName,
boolean isRequired)
AttributeMetaData
public AttributeMetaData(String parameterName,
boolean isRequired,
boolean isMultiple)
AttributeMetaData
public AttributeMetaData(String parameterName,
AttributeType attributeType)
AttributeMetaData
public AttributeMetaData(String parameterName,
String label)
AttributeMetaData
public AttributeMetaData(String parameterName,
String label,
boolean isRequired)
AttributeMetaData
public AttributeMetaData(String parameterName,
String label,
AttributeType attributeType)
AttributeMetaData
public AttributeMetaData(String parameterName,
String label,
boolean isRequired,
boolean isMultiple,
AttributeType attributeType)
- Constructor.
- Parameters:
parameterName
- The HTML parameter name of the attributelabel
- The label text to be used on a formattributeType
- The data type of the attribute. String will be used as default in
other constructors
getParameterName
public String getParameterName()
setLabel
public void setLabel(String label)
getLabel
public String getLabel()
isRequired
public void isRequired(boolean isRequired)
isRequired
public boolean isRequired()
isMultiple
public void isMultiple(boolean isMultiple)
isMultiple
public boolean isMultiple()
setAttributeType
public void setAttributeType(AttributeType attributeType)
getAttributeType
public AttributeType getAttributeType()
- Will return null if no attribute type has been set
getParameterModel
public ParameterModel getParameterModel()
- This method may return null.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC