Class DocumentAttribute
java.lang.Object
fr.paris.lutece.plugins.document.business.attributes.DocumentAttribute
- All Implemented Interfaces:
Serializable
This class represents the business object DocumentAttribute
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the AttributeOrderbyte[]Gets the valuegetCode()Returns the CodeReturns the CodeAttributeTypeReturns the CodeDocumentTypeReturns the DescriptionintgetId()Returns the IdDocumentAttributegetName()Returns the NameGets parameters listGets the valueGets the content type valuebooleanisBinary()Returns the BinarybooleanReturns the RequiredbooleanReturns the SearchablevoidsetAttributeOrder(int nAttributeOrder) Sets the AttributeOrdervoidsetBinary(boolean bBinary) Sets the BinaryvoidsetBinaryValue(byte[] bytes) Sets the valuevoidSets the CodevoidsetCodeAttributeType(String strCodeAttributeType) Sets the CodeAttributeTypevoidsetCodeDocumentType(String strCodeDocumentType) Sets the CodeDocumentTypevoidsetDescription(String strDescription) Sets the DescriptionvoidsetId(int nIdDocumentAttribute) Sets the IdDocumentAttributevoidsetMapProvider(IMapProvider mapProvider) voidSets the NamevoidsetParameters(List<AttributeTypeParameter> listParameters) Sets parameters listvoidsetRequired(boolean bRequired) Sets if RequiredvoidsetSearchable(boolean bSearchable) Sets the SearchablevoidsetTextValue(String strTextValue) Sets the valuevoidsetValueContentType(String strValueContentType) Sets the content type value
-
Constructor Details
-
DocumentAttribute
public DocumentAttribute()
-
-
Method Details
-
getId
public int getId()Returns the IdDocumentAttribute- Returns:
- The IdDocumentAttribute
-
setId
public void setId(int nIdDocumentAttribute) Sets the IdDocumentAttribute- Parameters:
nIdDocumentAttribute- The IdDocumentAttribute
-
getCodeDocumentType
Returns the CodeDocumentType- Returns:
- The CodeDocumentType
-
setCodeDocumentType
Sets the CodeDocumentType- Parameters:
strCodeDocumentType- The CodeDocumentType
-
getCodeAttributeType
Returns the CodeAttributeType- Returns:
- The CodeAttributeType
-
setCodeAttributeType
Sets the CodeAttributeType- Parameters:
strCodeAttributeType- The CodeAttributeType
-
getCode
Returns the Code- Returns:
- The Code
-
setCode
Sets the Code- Parameters:
strCode- The Code
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getDescription
Returns the Description- Returns:
- The Description
-
setDescription
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
Sets parameters list- Parameters:
listParameters- The parameters list
-
getParameters
Gets parameters list- Returns:
- The parameters list
-
setTextValue
Sets the value- Parameters:
strTextValue- The value
-
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
Sets the content type value- Parameters:
strValueContentType- The content type value
-
getValueContentType
Gets the content type value- Returns:
- The content type value
-
getMapProvider
- Returns:
- the _mapProvider
-
setMapProvider
- Parameters:
_mapProvider- the _mapProvider to set
-