Class DocumentAttribute
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.attributes.DocumentAttribute
-
public class DocumentAttribute extends java.lang.ObjectThis class represents the business object DocumentAttribute
-
-
Constructor Summary
Constructors Constructor Description DocumentAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAttributeOrder()Returns the AttributeOrderbyte[]getBinaryValue()Gets the valuejava.lang.StringgetCode()Returns the Codejava.lang.StringgetCodeAttributeType()Returns the CodeAttributeTypejava.lang.StringgetCodeDocumentType()Returns the CodeDocumentTypejava.lang.StringgetDescription()Returns the DescriptionintgetId()Returns the IdDocumentAttributeIMapProvidergetMapProvider()java.lang.StringgetName()Returns the Namejava.util.List<AttributeTypeParameter>getParameters()Gets parameters listjava.lang.StringgetTextValue()Gets the valuejava.lang.StringgetValueContentType()Gets the content type valuebooleanisBinary()Returns the BinarybooleanisRequired()Returns the RequiredbooleanisSearchable()Returns the SearchablevoidsetAttributeOrder(int nAttributeOrder)Sets the AttributeOrdervoidsetBinary(boolean bBinary)Sets the BinaryvoidsetBinaryValue(byte[] bytes)Sets the valuevoidsetCode(java.lang.String strCode)Sets the CodevoidsetCodeAttributeType(java.lang.String strCodeAttributeType)Sets the CodeAttributeTypevoidsetCodeDocumentType(java.lang.String strCodeDocumentType)Sets the CodeDocumentTypevoidsetDescription(java.lang.String strDescription)Sets the DescriptionvoidsetId(int nIdDocumentAttribute)Sets the IdDocumentAttributevoidsetMapProvider(IMapProvider mapProvider)voidsetName(java.lang.String strName)Sets the NamevoidsetParameters(java.util.List<AttributeTypeParameter> listParameters)Sets parameters listvoidsetRequired(boolean bRequired)Sets if RequiredvoidsetSearchable(boolean bSearchable)Sets the SearchablevoidsetTextValue(java.lang.String strTextValue)Sets the valuevoidsetValueContentType(java.lang.String strValueContentType)Sets the content type value
-
-
-
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
-
getMapProvider
public IMapProvider getMapProvider()
- Returns:
- the _mapProvider
-
setMapProvider
public void setMapProvider(IMapProvider mapProvider)
- Parameters:
_mapProvider- the _mapProvider to set
-
-