Class SmsConfigurationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationTransportConfigurationType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.SmsConfigurationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class SmsConfigurationType extends NotificationTransportConfigurationType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Where and how to send SMS notifications (or any other SMS).Java class for SmsConfigurationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SmsConfigurationType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}NotificationTransportConfigurationType"> <sequence> <element name="gateway" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}SmsGatewayConfigurationType" maxOccurs="unbounded" minOccurs="0"/> <element name="defaultFrom" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
protected String
defaultFrom
static ItemName
F_DEFAULT_FROM
static ItemName
F_GATEWAY
protected List<SmsGatewayConfigurationType>
gateway
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationTransportConfigurationType
blackList, debug, F_BLACK_LIST, F_DEBUG, F_LOG_TO_FILE, F_NAME, F_RECIPIENT_FILTER_EXPRESSION, F_REDIRECT_TO_FILE, F_WHITE_LIST, logToFile, name, recipientFilterExpression, redirectToFile, whiteList
-
-
Constructor Summary
Constructors Constructor Description SmsConfigurationType()
Creates a newSmsConfigurationType
instance.SmsConfigurationType(SmsConfigurationType o)
Creates a newSmsConfigurationType
instance by deeply copying a givenSmsConfigurationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
SmsGatewayConfigurationType
beginGateway()
ExpressionType
beginRecipientFilterExpression()
SmsConfigurationType
blackList(String value)
SmsConfigurationType
clone()
Creates and returns a deep copy of this object.SmsConfigurationType
debug(Boolean value)
SmsConfigurationType
defaultFrom(String value)
boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
SmsConfigurationType
gateway(SmsGatewayConfigurationType value)
String
getDefaultFrom()
Gets the value of the defaultFrom property.List<SmsGatewayConfigurationType>
getGateway()
Gets the value of the gateway property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
SmsConfigurationType
logToFile(String value)
SmsConfigurationType
name(String value)
SmsConfigurationType
recipientFilterExpression(ExpressionType value)
SmsConfigurationType
redirectToFile(String value)
void
setDefaultFrom(String value)
Sets the value of the defaultFrom property.String
toString()
Generates a String representation of the contents of this type.SmsConfigurationType
whiteList(String value)
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationTransportConfigurationType
getBlackList, getLogToFile, getName, getRecipientFilterExpression, getRedirectToFile, getWhiteList, isDebug, setDebug, setLogToFile, setName, setRecipientFilterExpression, setRedirectToFile
-
-
-
-
Constructor Detail
-
SmsConfigurationType
public SmsConfigurationType()
Creates a newSmsConfigurationType
instance.
-
SmsConfigurationType
public SmsConfigurationType(SmsConfigurationType o)
Creates a newSmsConfigurationType
instance by deeply copying a givenSmsConfigurationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getGateway
public List<SmsGatewayConfigurationType> getGateway()
Gets the value of the gateway 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 JAXB object. This is why there is not a
set
method for the gateway property.For example, to add a new item, do as follows:
getGateway().add(newItem);
Objects of the following type(s) are allowed in the list
SmsGatewayConfigurationType
-
getDefaultFrom
public String getDefaultFrom()
Gets the value of the defaultFrom property.- Returns:
- possible object is
String
-
setDefaultFrom
public void setDefaultFrom(String value)
Sets the value of the defaultFrom property.- Parameters:
value
- allowed object isString
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin- Overrides:
toString
in classNotificationTransportConfigurationType
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
- Overrides:
hashCode
in classNotificationTransportConfigurationType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classNotificationTransportConfigurationType
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
- Overrides:
equals
in classNotificationTransportConfigurationType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classNotificationTransportConfigurationType
-
gateway
public SmsConfigurationType gateway(SmsGatewayConfigurationType value)
-
beginGateway
public SmsGatewayConfigurationType beginGateway()
-
defaultFrom
public SmsConfigurationType defaultFrom(String value)
-
debug
public SmsConfigurationType debug(Boolean value)
- Overrides:
debug
in classNotificationTransportConfigurationType
-
redirectToFile
public SmsConfigurationType redirectToFile(String value)
- Overrides:
redirectToFile
in classNotificationTransportConfigurationType
-
logToFile
public SmsConfigurationType logToFile(String value)
- Overrides:
logToFile
in classNotificationTransportConfigurationType
-
blackList
public SmsConfigurationType blackList(String value)
- Overrides:
blackList
in classNotificationTransportConfigurationType
-
whiteList
public SmsConfigurationType whiteList(String value)
- Overrides:
whiteList
in classNotificationTransportConfigurationType
-
recipientFilterExpression
public SmsConfigurationType recipientFilterExpression(ExpressionType value)
- Overrides:
recipientFilterExpression
in classNotificationTransportConfigurationType
-
beginRecipientFilterExpression
public ExpressionType beginRecipientFilterExpression()
- Overrides:
beginRecipientFilterExpression
in classNotificationTransportConfigurationType
-
name
public SmsConfigurationType name(String value)
- Overrides:
name
in classNotificationTransportConfigurationType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classNotificationTransportConfigurationType
-
clone
public SmsConfigurationType clone()
Creates and returns a deep copy of this object.- Overrides:
clone
in classNotificationTransportConfigurationType
- Returns:
- A deep copy of this object.
-
-