fr.paris.lutece.portal.business.user.attribute
Class AttributeField

java.lang.Object
  extended by fr.paris.lutece.portal.business.user.attribute.AttributeField

public class AttributeField
extends java.lang.Object

AttributeField


Constructor Summary
AttributeField()
           
 
Method Summary
 IAttribute getAttribute()
          Get attribute
 int getHeight()
          Get height
 int getIdField()
          Get ID Field
 int getMaxSizeEnter()
          Get max size enter
 int getPosition()
           
 java.lang.String getTitle()
           
 java.lang.String getValue()
           
 int getWidth()
          Get width
 boolean isDefaultValue()
           
 boolean isMultiple()
          Check if the attribute is multiple
 void setAttribute(IAttribute attribute)
          Set attribute
 void setDefaultValue(boolean defaultValue)
          set true if the field is a default field of the entry
 void setHeight(int nHeight)
          Set height
 void setIdField(int nIdField)
          Set ID field
 void setMaxSizeEnter(int nMaxSizeEnter)
          Set max size enter
 void setMultiple(boolean bMultiple)
          Set the multiple
 void setPosition(int position)
          set the position of the field in the list of the entry's fields
 void setTitle(java.lang.String title)
          set the title of the field
 void setValue(java.lang.String value)
          set the value of the field
 void setWidth(int nWidth)
          Set width
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeField

public AttributeField()
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 java.lang.String getTitle()
Returns:
the title of the field

setTitle

public void setTitle(java.lang.String title)
set the title of the field

Parameters:
title - the title of the field

getValue

public java.lang.String getValue()
Returns:
the value of the field

setValue

public void setValue(java.lang.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


Copyright © 2012 Mairie de Paris. All Rights Reserved.