Class ApprovalDBType

java.lang.Object
com.tremolosecurity.config.xml.ApprovalDBType

public class ApprovalDBType extends Object
Defines the database used to track requests and approvals

Java class for approvalDBType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="approvalDBType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="driver" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="user" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="password" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="maxConns" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="maxIdleConns" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="userIdAttribute" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="approverAttributes" type="{http://www.tremolosecurity.com/tremoloConfig}listType"/>
         <element name="userAttributes" type="{http://www.tremolosecurity.com/tremoloConfig}listType"/>
         <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="smtpHost" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="smtpPort" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="smtpUser" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="smtpPassword" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="smtpSubject" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="smtpFrom" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="smtpTLS" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="encryptionKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="smtpUseSOCKSProxy" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="smtpSOCKSProxyHost" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="smtpSOCKSProxyPort" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="smtpLocalhost" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="maskAttribute" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="validationQuery" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="hibernateDialect" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="hibernateProperty" type="{http://www.tremolosecurity.com/tremoloConfig}paramType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="hibernateConfig" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="hibernateCreateSchema" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="notifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • driver

      protected String driver
    • url

      protected String url
    • user

      protected String user
    • password

      protected String password
    • maxConns

      protected int maxConns
    • maxIdleConns

      protected int maxIdleConns
    • userIdAttribute

      protected String userIdAttribute
    • approverAttributes

      protected ListType approverAttributes
    • userAttributes

      protected ListType userAttributes
    • enabled

      protected boolean enabled
    • smtpHost

      protected String smtpHost
    • smtpPort

      protected int smtpPort
    • smtpUser

      protected String smtpUser
    • smtpPassword

      protected String smtpPassword
    • smtpSubject

      protected String smtpSubject
    • smtpFrom

      protected String smtpFrom
    • smtpTLS

      protected boolean smtpTLS
    • encryptionKey

      protected String encryptionKey
    • smtpUseSOCKSProxy

      protected boolean smtpUseSOCKSProxy
    • smtpSOCKSProxyHost

      protected String smtpSOCKSProxyHost
    • smtpSOCKSProxyPort

      protected int smtpSOCKSProxyPort
    • smtpLocalhost

      protected String smtpLocalhost
    • maskAttribute

      protected List<String> maskAttribute
    • validationQuery

      protected String validationQuery
    • hibernateDialect

      protected String hibernateDialect
    • hibernateProperty

      protected List<ParamType> hibernateProperty
    • hibernateConfig

      protected String hibernateConfig
    • hibernateCreateSchema

      protected Boolean hibernateCreateSchema
    • notifier

      protected String notifier
  • Constructor Details

    • ApprovalDBType

      public ApprovalDBType()
  • Method Details

    • getDriver

      public String getDriver()
      Gets the value of the driver property.
      Returns:
      possible object is String
    • setDriver

      public void setDriver(String value)
      Sets the value of the driver property.
      Parameters:
      value - allowed object is String
    • getUrl

      public String getUrl()
      Gets the value of the url property.
      Returns:
      possible object is String
    • setUrl

      public void setUrl(String value)
      Sets the value of the url property.
      Parameters:
      value - allowed object is String
    • getUser

      public String getUser()
      Gets the value of the user property.
      Returns:
      possible object is String
    • setUser

      public void setUser(String value)
      Sets the value of the user property.
      Parameters:
      value - allowed object is String
    • getPassword

      public String getPassword()
      Gets the value of the password property.
      Returns:
      possible object is String
    • setPassword

      public void setPassword(String value)
      Sets the value of the password property.
      Parameters:
      value - allowed object is String
    • getMaxConns

      public int getMaxConns()
      Gets the value of the maxConns property.
    • setMaxConns

      public void setMaxConns(int value)
      Sets the value of the maxConns property.
    • getMaxIdleConns

      public int getMaxIdleConns()
      Gets the value of the maxIdleConns property.
    • setMaxIdleConns

      public void setMaxIdleConns(int value)
      Sets the value of the maxIdleConns property.
    • getUserIdAttribute

      public String getUserIdAttribute()
      Gets the value of the userIdAttribute property.
      Returns:
      possible object is String
    • setUserIdAttribute

      public void setUserIdAttribute(String value)
      Sets the value of the userIdAttribute property.
      Parameters:
      value - allowed object is String
    • getApproverAttributes

      public ListType getApproverAttributes()
      Gets the value of the approverAttributes property.
      Returns:
      possible object is ListType
    • setApproverAttributes

      public void setApproverAttributes(ListType value)
      Sets the value of the approverAttributes property.
      Parameters:
      value - allowed object is ListType
    • getUserAttributes

      public ListType getUserAttributes()
      Gets the value of the userAttributes property.
      Returns:
      possible object is ListType
    • setUserAttributes

      public void setUserAttributes(ListType value)
      Sets the value of the userAttributes property.
      Parameters:
      value - allowed object is ListType
    • isEnabled

      public boolean isEnabled()
      Gets the value of the enabled property.
    • setEnabled

      public void setEnabled(boolean value)
      Sets the value of the enabled property.
    • getSmtpHost

      public String getSmtpHost()
      Gets the value of the smtpHost property.
      Returns:
      possible object is String
    • setSmtpHost

      public void setSmtpHost(String value)
      Sets the value of the smtpHost property.
      Parameters:
      value - allowed object is String
    • getSmtpPort

      public int getSmtpPort()
      Gets the value of the smtpPort property.
    • setSmtpPort

      public void setSmtpPort(int value)
      Sets the value of the smtpPort property.
    • getSmtpUser

      public String getSmtpUser()
      Gets the value of the smtpUser property.
      Returns:
      possible object is String
    • setSmtpUser

      public void setSmtpUser(String value)
      Sets the value of the smtpUser property.
      Parameters:
      value - allowed object is String
    • getSmtpPassword

      public String getSmtpPassword()
      Gets the value of the smtpPassword property.
      Returns:
      possible object is String
    • setSmtpPassword

      public void setSmtpPassword(String value)
      Sets the value of the smtpPassword property.
      Parameters:
      value - allowed object is String
    • getSmtpSubject

      public String getSmtpSubject()
      Gets the value of the smtpSubject property.
      Returns:
      possible object is String
    • setSmtpSubject

      public void setSmtpSubject(String value)
      Sets the value of the smtpSubject property.
      Parameters:
      value - allowed object is String
    • getSmtpFrom

      public String getSmtpFrom()
      Gets the value of the smtpFrom property.
      Returns:
      possible object is String
    • setSmtpFrom

      public void setSmtpFrom(String value)
      Sets the value of the smtpFrom property.
      Parameters:
      value - allowed object is String
    • isSmtpTLS

      public boolean isSmtpTLS()
      Gets the value of the smtpTLS property.
    • setSmtpTLS

      public void setSmtpTLS(boolean value)
      Sets the value of the smtpTLS property.
    • getEncryptionKey

      public String getEncryptionKey()
      Gets the value of the encryptionKey property.
      Returns:
      possible object is String
    • setEncryptionKey

      public void setEncryptionKey(String value)
      Sets the value of the encryptionKey property.
      Parameters:
      value - allowed object is String
    • isSmtpUseSOCKSProxy

      public boolean isSmtpUseSOCKSProxy()
      Gets the value of the smtpUseSOCKSProxy property.
    • setSmtpUseSOCKSProxy

      public void setSmtpUseSOCKSProxy(boolean value)
      Sets the value of the smtpUseSOCKSProxy property.
    • getSmtpSOCKSProxyHost

      public String getSmtpSOCKSProxyHost()
      Gets the value of the smtpSOCKSProxyHost property.
      Returns:
      possible object is String
    • setSmtpSOCKSProxyHost

      public void setSmtpSOCKSProxyHost(String value)
      Sets the value of the smtpSOCKSProxyHost property.
      Parameters:
      value - allowed object is String
    • getSmtpSOCKSProxyPort

      public int getSmtpSOCKSProxyPort()
      Gets the value of the smtpSOCKSProxyPort property.
    • setSmtpSOCKSProxyPort

      public void setSmtpSOCKSProxyPort(int value)
      Sets the value of the smtpSOCKSProxyPort property.
    • getSmtpLocalhost

      public String getSmtpLocalhost()
      Gets the value of the smtpLocalhost property.
      Returns:
      possible object is String
    • setSmtpLocalhost

      public void setSmtpLocalhost(String value)
      Sets the value of the smtpLocalhost property.
      Parameters:
      value - allowed object is String
    • getMaskAttribute

      public List<String> getMaskAttribute()
      Gets the value of the maskAttribute property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the maskAttribute property.

      For example, to add a new item, do as follows:

          getMaskAttribute().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • getValidationQuery

      public String getValidationQuery()
      Gets the value of the validationQuery property.
      Returns:
      possible object is String
    • setValidationQuery

      public void setValidationQuery(String value)
      Sets the value of the validationQuery property.
      Parameters:
      value - allowed object is String
    • getHibernateDialect

      public String getHibernateDialect()
      Gets the value of the hibernateDialect property.
      Returns:
      possible object is String
    • setHibernateDialect

      public void setHibernateDialect(String value)
      Sets the value of the hibernateDialect property.
      Parameters:
      value - allowed object is String
    • getHibernateProperty

      public List<ParamType> getHibernateProperty()
      Gets the value of the hibernateProperty property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the hibernateProperty property.

      For example, to add a new item, do as follows:

          getHibernateProperty().add(newItem);
       

      Objects of the following type(s) are allowed in the list ParamType

    • getHibernateConfig

      public String getHibernateConfig()
      Gets the value of the hibernateConfig property.
      Returns:
      possible object is String
    • setHibernateConfig

      public void setHibernateConfig(String value)
      Sets the value of the hibernateConfig property.
      Parameters:
      value - allowed object is String
    • isHibernateCreateSchema

      public Boolean isHibernateCreateSchema()
      Gets the value of the hibernateCreateSchema property.
      Returns:
      possible object is Boolean
    • setHibernateCreateSchema

      public void setHibernateCreateSchema(Boolean value)
      Sets the value of the hibernateCreateSchema property.
      Parameters:
      value - allowed object is Boolean
    • getNotifier

      public String getNotifier()
      Gets the value of the notifier property.
      Returns:
      possible object is String
    • setNotifier

      public void setNotifier(String value)
      Sets the value of the notifier property.
      Parameters:
      value - allowed object is String