Class DocumentAttribute

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

public class DocumentAttribute extends Object
This class represents the business object DocumentAttribute
  • 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

      public String getCodeDocumentType()
      Returns the CodeDocumentType
      Returns:
      The CodeDocumentType
    • setCodeDocumentType

      public void setCodeDocumentType(String strCodeDocumentType)
      Sets the CodeDocumentType
      Parameters:
      strCodeDocumentType - The CodeDocumentType
    • getCodeAttributeType

      public String getCodeAttributeType()
      Returns the CodeAttributeType
      Returns:
      The CodeAttributeType
    • setCodeAttributeType

      public void setCodeAttributeType(String strCodeAttributeType)
      Sets the CodeAttributeType
      Parameters:
      strCodeAttributeType - The CodeAttributeType
    • getCode

      public String getCode()
      Returns the Code
      Returns:
      The Code
    • setCode

      public void setCode(String strCode)
      Sets the Code
      Parameters:
      strCode - The Code
    • getName

      public String getName()
      Returns the Name
      Returns:
      The Name
    • setName

      public void setName(String strName)
      Sets the Name
      Parameters:
      strName - The Name
    • getDescription

      public String getDescription()
      Returns the Description
      Returns:
      The Description
    • setDescription

      public void setDescription(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(List<AttributeTypeParameter> listParameters)
      Sets parameters list
      Parameters:
      listParameters - The parameters list
    • getParameters

      public List<AttributeTypeParameter> getParameters()
      Gets parameters list
      Returns:
      The parameters list
    • setTextValue

      public void setTextValue(String strTextValue)
      Sets the value
      Parameters:
      strTextValue - The value
    • getTextValue

      public 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(String strValueContentType)
      Sets the content type value
      Parameters:
      strValueContentType - The content type value
    • getValueContentType

      public 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