fr.paris.lutece.plugins.pluginwizard.business.model
Class Attribute

java.lang.Object
  extended by fr.paris.lutece.plugins.pluginwizard.business.model.Attribute

public class Attribute
extends Object

This is the business class for the object Attribute


Constructor Summary
Attribute()
           
 
Method Summary
 String getAttributeName()
          Returns the AttributeName
 int getAttributeTypeId()
          Returns the AttributeTypeId
 String getConstraint()
          Returns the Constraint
 int getId()
          Returns the IdAttribute
 boolean getIsDescription()
          Returns the bIsDescription
 boolean getIsPrimary()
          Returns the IdAttribute
 String getJavaName()
          Returns the java name of the attribute
 String getLabelName()
          Returns the Name
 int getMaxLength()
           
 String getName()
          Returns the Name
 boolean getNotNull()
          Returns the bNotNull
 String getParamName()
          Returns the Param Name
 String getType()
          Returns the Type
 String getTypeDescription()
          Returns the type description
 String getVariableName()
          Returns the VariableName
 void setAttributeName(String strAttributeName)
          Sets the AttributeName
 void setAttributeTypeId(int nAttributeTypeId)
          Sets the AttributeTypeId
 void setId(int nIdAttribute)
          Sets the IdAttribute
 void setIsDescription(boolean bIsDescription)
          Sets the Description
 void setIsPrimary(boolean bIsPrimary)
          Sets the bIsPrimary
 void setMaxLength(int maxLength)
           
 void setNotNull(boolean bNotNull)
          Sets the Description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute()
Method Detail

getId

public int getId()
Returns the IdAttribute

Returns:
The IdAttribute

setId

public void setId(int nIdAttribute)
Sets the IdAttribute

Parameters:
nIdAttribute - The IdAttribute

getAttributeTypeId

public int getAttributeTypeId()
Returns the AttributeTypeId

Returns:
The AttributeTypeId

setAttributeTypeId

public void setAttributeTypeId(int nAttributeTypeId)
Sets the AttributeTypeId

Parameters:
nAttributeTypeId - The AttributeTypeId

getAttributeName

public String getAttributeName()
Returns the AttributeName

Returns:
The AttributeName

setAttributeName

public void setAttributeName(String strAttributeName)
Sets the AttributeName

Parameters:
strAttributeName - The AttributeName

getIsPrimary

public boolean getIsPrimary()
Returns the IdAttribute

Returns:
The IdAttribute

setIsPrimary

public void setIsPrimary(boolean bIsPrimary)
Sets the bIsPrimary

Parameters:
bIsPrimary - The IsPrimary

getIsDescription

public boolean getIsDescription()
Returns the bIsDescription

Returns:
The IsDescription

setIsDescription

public void setIsDescription(boolean bIsDescription)
Sets the Description

Parameters:
bIsDescription - The Description

getType

public String getType()
Returns the Type

Returns:
The Type

getName

public String getName()
Returns the Name

Returns:
The Name

getLabelName

public String getLabelName()
Returns the Name

Returns:
The Name

getVariableName

public String getVariableName()
Returns the VariableName

Returns:
The VariableName

getTypeDescription

public String getTypeDescription()
Returns the type description

Returns:
The type description

getParamName

public String getParamName()
Returns the Param Name

Returns:
The Param VariableName

getJavaName

public String getJavaName()
Returns the java name of the attribute

Returns:
The java name

getMaxLength

public int getMaxLength()
Returns:
the maxLength

setMaxLength

public void setMaxLength(int maxLength)
Parameters:
maxLength - the maxLength to set

getNotNull

public boolean getNotNull()
Returns the bNotNull

Returns:
The NotNull

setNotNull

public void setNotNull(boolean bNotNull)
Sets the Description

Parameters:
bNotNull - The Description

getConstraint

public String getConstraint()
Returns the Constraint

Returns:
The Constraint


Copyright © 2013 Mairie de Paris. All Rights Reserved.