Class AttributeField
- java.lang.Object
-
- fr.paris.lutece.portal.business.user.attribute.AttributeField
-
public class AttributeField extends Object
AttributeField
-
-
Constructor Summary
Constructors Constructor Description AttributeField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAttributegetAttribute()Get attributeintgetHeight()Get heightintgetIdField()Get ID FieldintgetMaxSizeEnter()Get max size enterintgetPosition()StringgetTitle()StringgetValue()intgetWidth()Get widthbooleanisDefaultValue()booleanisMultiple()Check if the attribute is multiplevoidsetAttribute(IAttribute attribute)Set attributevoidsetDefaultValue(boolean defaultValue)set true if the field is a default field of the entryvoidsetHeight(int nHeight)Set heightvoidsetIdField(int nIdField)Set ID fieldvoidsetMaxSizeEnter(int nMaxSizeEnter)Set max size entervoidsetMultiple(boolean bMultiple)Set the multiplevoidsetPosition(int position)set the position of the field in the list of the entry's fieldsvoidsetTitle(String title)set the title of the fieldvoidsetValue(String value)set the value of the fieldvoidsetWidth(int nWidth)Set width
-
-
-
Method Detail
-
setIdField
public void setIdField(int nIdField)
Set ID field- Parameters:
nIdField- ID Field
-
getIdField
public int getIdField()
Get ID Field- Returns:
- ID Field
-
setAttribute
public void setAttribute(IAttribute attribute)
Set attribute- Parameters:
attribute- attribute
-
getAttribute
public IAttribute getAttribute()
Get attribute- Returns:
- attribute
-
getTitle
public String getTitle()
- Returns:
- the title of the field
-
setTitle
public void setTitle(String title)
set the title of the field- Parameters:
title- the title of the field
-
getValue
public String getValue()
- Returns:
- the value of the field
-
setValue
public void setValue(String value)
set the value of the field- Parameters:
value- the value of the field
-
isDefaultValue
public boolean isDefaultValue()
- Returns:
- true if the field is a default field of the entry
-
setDefaultValue
public void setDefaultValue(boolean defaultValue)
set true if the field is a default field of the entry- Parameters:
defaultValue- true if the field is a default field of the entry
-
getPosition
public int getPosition()
- Returns:
- the position of the field in the list of the entry's fields
-
setPosition
public void setPosition(int position)
set the position of the field in the list of the entry's fields- Parameters:
position- the position of the field in the list of fields
-
getHeight
public int getHeight()
Get height- Returns:
- height
-
setHeight
public void setHeight(int nHeight)
Set height- Parameters:
nHeight- Height
-
getWidth
public int getWidth()
Get width- Returns:
- width
-
setWidth
public void setWidth(int nWidth)
Set width- Parameters:
nWidth- width
-
getMaxSizeEnter
public int getMaxSizeEnter()
Get max size enter- Returns:
- max size enter
-
setMaxSizeEnter
public void setMaxSizeEnter(int nMaxSizeEnter)
Set max size enter- Parameters:
nMaxSizeEnter- max size enter
-
isMultiple
public boolean isMultiple()
Check if the attribute is multiple- Returns:
- true if it is multiple, false otherwise
-
setMultiple
public void setMultiple(boolean bMultiple)
Set the multiple- Parameters:
bMultiple- mutiple
-
-