Class AttributeField
java.lang.Object
fr.paris.lutece.portal.business.user.attribute.AttributeField
AttributeField
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet attributeintGet heightintGet ID FieldintGet max size enterintgetTitle()getValue()intgetWidth()Get widthbooleanbooleanCheck 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 fieldsvoidset the title of the fieldvoidset the value of the fieldvoidsetWidth(int nWidth) Set width
-
Constructor Details
-
AttributeField
public AttributeField()
-
-
Method Details
-
setIdField
public void setIdField(int nIdField) Set ID field- Parameters:
nIdField- ID Field
-
getIdField
public int getIdField()Get ID Field- Returns:
- ID Field
-
setAttribute
Set attribute- Parameters:
attribute- attribute
-
getAttribute
Get attribute- Returns:
- attribute
-
getTitle
- Returns:
- the title of the field
-
setTitle
set the title of the field- Parameters:
title- the title of the field
-
getValue
- Returns:
- the value of the field
-
setValue
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
-