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 QNameCOMPLEX_TYPEprotected StringdefaultFromstatic ItemNameF_DEFAULT_FROMstatic ItemNameF_GATEWAYprotected 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 newSmsConfigurationTypeinstance.SmsConfigurationType(SmsConfigurationType o)Creates a newSmsConfigurationTypeinstance by deeply copying a givenSmsConfigurationTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)SmsGatewayConfigurationTypebeginGateway()ExpressionTypebeginRecipientFilterExpression()SmsConfigurationTypeblackList(String value)SmsConfigurationTypeclone()Creates and returns a deep copy of this object.SmsConfigurationTypedebug(Boolean value)SmsConfigurationTypedefaultFrom(String value)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)SmsConfigurationTypegateway(SmsGatewayConfigurationType value)StringgetDefaultFrom()Gets the value of the defaultFrom property.List<SmsGatewayConfigurationType>getGateway()Gets the value of the gateway property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)SmsConfigurationTypelogToFile(String value)SmsConfigurationTypename(String value)SmsConfigurationTyperecipientFilterExpression(ExpressionType value)SmsConfigurationTyperedirectToFile(String value)voidsetDefaultFrom(String value)Sets the value of the defaultFrom property.StringtoString()Generates a String representation of the contents of this type.SmsConfigurationTypewhiteList(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 newSmsConfigurationTypeinstance.
-
SmsConfigurationType
public SmsConfigurationType(SmsConfigurationType o)
Creates a newSmsConfigurationTypeinstance by deeply copying a givenSmsConfigurationTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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:
toStringin classNotificationTransportConfigurationType
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode- Overrides:
hashCodein classNotificationTransportConfigurationType
-
hashCode
public int hashCode()
- Overrides:
hashCodein 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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals- Overrides:
equalsin classNotificationTransportConfigurationType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classNotificationTransportConfigurationType
-
gateway
public SmsConfigurationType gateway(SmsGatewayConfigurationType value)
-
beginGateway
public SmsGatewayConfigurationType beginGateway()
-
defaultFrom
public SmsConfigurationType defaultFrom(String value)
-
debug
public SmsConfigurationType debug(Boolean value)
- Overrides:
debugin classNotificationTransportConfigurationType
-
redirectToFile
public SmsConfigurationType redirectToFile(String value)
- Overrides:
redirectToFilein classNotificationTransportConfigurationType
-
logToFile
public SmsConfigurationType logToFile(String value)
- Overrides:
logToFilein classNotificationTransportConfigurationType
-
blackList
public SmsConfigurationType blackList(String value)
- Overrides:
blackListin classNotificationTransportConfigurationType
-
whiteList
public SmsConfigurationType whiteList(String value)
- Overrides:
whiteListin classNotificationTransportConfigurationType
-
recipientFilterExpression
public SmsConfigurationType recipientFilterExpression(ExpressionType value)
- Overrides:
recipientFilterExpressionin classNotificationTransportConfigurationType
-
beginRecipientFilterExpression
public ExpressionType beginRecipientFilterExpression()
- Overrides:
beginRecipientFilterExpressionin classNotificationTransportConfigurationType
-
name
public SmsConfigurationType name(String value)
- Overrides:
namein classNotificationTransportConfigurationType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable- Overrides:
acceptin classNotificationTransportConfigurationType
-
clone
public SmsConfigurationType clone()
Creates and returns a deep copy of this object.- Overrides:
clonein classNotificationTransportConfigurationType- Returns:
- A deep copy of this object.
-
-