fr.paris.lutece.plugins.document.business.attributes
Class DocumentAttribute

java.lang.Object
  extended by fr.paris.lutece.plugins.document.business.attributes.DocumentAttribute

public class DocumentAttribute
extends java.lang.Object

This class represents the business object DocumentAttribute


Constructor Summary
DocumentAttribute()
           
 
Method Summary
 int getAttributeOrder()
          Returns the AttributeOrder
 byte[] getBinaryValue()
          Gets the value
 java.lang.String getCode()
          Returns the Code
 java.lang.String getCodeAttributeType()
          Returns the CodeAttributeType
 java.lang.String getCodeDocumentType()
          Returns the CodeDocumentType
 java.lang.String getDescription()
          Returns the Description
 int getId()
          Returns the IdDocumentAttribute
 java.lang.String getName()
          Returns the Name
 java.util.List<AttributeTypeParameter> getParameters()
          Gets parameters list
 java.lang.String getTextValue()
          Gets the value
 java.lang.String getValueContentType()
          Gets the content type value
 boolean isBinary()
          Returns the Binary
 boolean isRequired()
          Returns the Required
 boolean isSearchable()
          Returns the Searchable
 void setAttributeOrder(int nAttributeOrder)
          Sets the AttributeOrder
 void setBinary(boolean bBinary)
          Sets the Binary
 void setBinaryValue(byte[] bytes)
          Sets the value
 void setCode(java.lang.String strCode)
          Sets the Code
 void setCodeAttributeType(java.lang.String strCodeAttributeType)
          Sets the CodeAttributeType
 void setCodeDocumentType(java.lang.String strCodeDocumentType)
          Sets the CodeDocumentType
 void setDescription(java.lang.String strDescription)
          Sets the Description
 void setId(int nIdDocumentAttribute)
          Sets the IdDocumentAttribute
 void setName(java.lang.String strName)
          Sets the Name
 void setParameters(java.util.List<AttributeTypeParameter> listParameters)
          Sets parameters list
 void setRequired(boolean bRequired)
          Sets if Required
 void setSearchable(boolean bSearchable)
          Sets the Searchable
 void setTextValue(java.lang.String strTextValue)
          Sets the value
 void setValueContentType(java.lang.String strValueContentType)
          Sets the content type value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentAttribute

public DocumentAttribute()
Method Detail

getId

public int getId()
Returns the IdDocumentAttribute

Returns:
The IdDocumentAttribute

setId

public void setId(int nIdDocumentAttribute)
Sets the IdDocumentAttribute

Parameters:
nIdDocumentAttribute - The IdDocumentAttribute

getCodeDocumentType

public java.lang.String getCodeDocumentType()
Returns the CodeDocumentType

Returns:
The CodeDocumentType

setCodeDocumentType

public void setCodeDocumentType(java.lang.String strCodeDocumentType)
Sets the CodeDocumentType

Parameters:
strCodeDocumentType - The CodeDocumentType

getCodeAttributeType

public java.lang.String getCodeAttributeType()
Returns the CodeAttributeType

Returns:
The CodeAttributeType

setCodeAttributeType

public void setCodeAttributeType(java.lang.String strCodeAttributeType)
Sets the CodeAttributeType

Parameters:
strCodeAttributeType - The CodeAttributeType

getCode

public java.lang.String getCode()
Returns the Code

Returns:
The Code

setCode

public void setCode(java.lang.String strCode)
Sets the Code

Parameters:
strCode - The Code

getName

public java.lang.String getName()
Returns the Name

Returns:
The Name

setName

public void setName(java.lang.String strName)
Sets the Name

Parameters:
strName - The Name

getDescription

public java.lang.String getDescription()
Returns the Description

Returns:
The Description

setDescription

public void setDescription(java.lang.String strDescription)
Sets the Description

Parameters:
strDescription - The Description

getAttributeOrder

public int getAttributeOrder()
Returns the AttributeOrder

Returns:
The AttributeOrder

setAttributeOrder

public void setAttributeOrder(int nAttributeOrder)
Sets the AttributeOrder

Parameters:
nAttributeOrder - The AttributeOrder

isRequired

public boolean isRequired()
Returns the Required

Returns:
The Required

setRequired

public void setRequired(boolean bRequired)
Sets if Required

Parameters:
bRequired - The required value

isSearchable

public boolean isSearchable()
Returns the Searchable

Returns:
The Searchable

setSearchable

public void setSearchable(boolean bSearchable)
Sets the Searchable

Parameters:
bSearchable - The searchable value

isBinary

public boolean isBinary()
Returns the Binary

Returns:
The Binary

setBinary

public void setBinary(boolean bBinary)
Sets the Binary

Parameters:
bBinary - The Binary value

setParameters

public void setParameters(java.util.List<AttributeTypeParameter> listParameters)
Sets parameters list

Parameters:
listParameters - The parameters list

getParameters

public java.util.List<AttributeTypeParameter> getParameters()
Gets parameters list

Returns:
The parameters list

setTextValue

public void setTextValue(java.lang.String strTextValue)
Sets the value

Parameters:
strTextValue - The value

getTextValue

public java.lang.String getTextValue()
Gets the value

Returns:
The value

setBinaryValue

public void setBinaryValue(byte[] bytes)
Sets the value

Parameters:
bytes - The value

getBinaryValue

public byte[] getBinaryValue()
Gets the value

Returns:
The value

setValueContentType

public void setValueContentType(java.lang.String strValueContentType)
Sets the content type value

Parameters:
strValueContentType - The content type value

getValueContentType

public java.lang.String getValueContentType()
Gets the content type value

Returns:
The content type value


Copyright © 2009 Mairie de Paris. All Rights Reserved.