java.lang.Object
fr.paris.lutece.plugins.genericattributes.business.EntryType
All Implemented Interfaces:
Serializable

public class EntryType extends Object implements Serializable
class entryType
See Also:
  • Constructor Details

    • EntryType

      public EntryType()
  • Method Details

    • getIdType

      public int getIdType()
      Returns:
      the id of the entry type
    • setIdType

      public void setIdType(int idType)
      set the id of the entry type
      Parameters:
      idType - the id of the entry type
    • getGroup

      public Boolean getGroup()
      Returns:
      true if the type is a group
    • setGroup

      public void setGroup(Boolean isGroup)
      set true if the type is a group
      Parameters:
      isGroup - if the type is a group
    • getTitle

      public String getTitle()
      Returns:
      the title of the entry type
    • setTitle

      public void setTitle(String title)
      set the title of the entry type
      Parameters:
      title - the title of the entry type
    • getBeanName

      public String getBeanName()
      Get the name of the bean of the entry type service
      Returns:
      The name of the bean of the entry type service
    • setBeanName

      public void setBeanName(String strBeanName)
      set the path for access to the Class Entry
      Parameters:
      strBeanName - The name of the bean of the entry type service of this entry type
    • getIconName

      public String getIconName()
      Get the icon name
      Returns:
      the strIconName
    • setIconName

      public void setIconName(String strIconName)
      Set the icon name
      Parameters:
      strIconName - the strIconName to set
    • getComment

      public Boolean getComment()
      Returns:
      true if the type is a comment
    • setComment

      public void setComment(Boolean isComment)
      Parameters:
      isComment - set true if the type is a comment
    • getMyLuteceUser

      public Boolean getMyLuteceUser()
      Returns:
      true if the type is MyLutece user
    • setMyLuteceUser

      public void setMyLuteceUser(Boolean isMyLuteceUser)
      Parameters:
      isMyLuteceUser - set true if the type is MyLutece user
    • getPlugin

      public String getPlugin()
      Get the name of the plugin associated with this entry type
      Returns:
      The name of the plugin associated with this entry type
    • setPlugin

      public void setPlugin(String strPlugin)
      Set the name of the plugin associated with this entry type
      Parameters:
      strPlugin - The name of the plugin associated with this entry type
    • getOrder

      public int getOrder()
      Returns:
      the nOrder
    • setOrder

      public void setOrder(int nOrder)
      Parameters:
      nOrder - the nOrder to set
    • isInactive

      public boolean isInactive()
      Returns:
      the bInactive
    • setInactive

      public void setInactive(boolean bInactive)
      Parameters:
      bInactive - the bInactive to set
    • getIdTypeParent

      public int getIdTypeParent()
      Get the id of the entry type this one was derived from
      Returns:
      the id of the parent entry type, or 0 if this entry type is not derived
    • setIdTypeParent

      public void setIdTypeParent(int nIdTypeParent)
      Set the id of the entry type this one was derived from
      Parameters:
      nIdTypeParent - the id of the parent entry type, 0 if none
    • isDerived

      public boolean isDerived()
      Tell whether this entry type was derived from another entry type
      Returns:
      true if the entry type is derived
    • getRegexPattern

      public String getRegexPattern()
      Get the regular expression every response to an entry of this type must match
      Returns:
      the regular expression, or null if none
    • setRegexPattern

      public void setRegexPattern(String strRegexPattern)
      Set the regular expression every response to an entry of this type must match
      Parameters:
      strRegexPattern - the regular expression
    • getRegexErrorMessage

      public String getRegexErrorMessage()
      Get the error message displayed when a response does not match the regular expression
      Returns:
      the error message
    • setRegexErrorMessage

      public void setRegexErrorMessage(String strRegexErrorMessage)
      Set the error message displayed when a response does not match the regular expression
      Parameters:
      strRegexErrorMessage - the error message