Class CS1ActivateServiceFilteringArg
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- CS1ActivateServiceFilteringArg
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CS1ActivateServiceFilteringArg extends AbstractFieldsObject
API for Core-INAP-CS1-DataTypes.ActivateServiceFilteringArg. Generated from the following ASN.1 type definition.ActivateServiceFilteringArg ::= SEQUENCE { filteredCallTreatment FilteredCallTreatment, filteringCharacteristics FilteringCharacteristics, filteringTimeOut FilteringTimeOut, filteringCriteria FilteringCriteria, startTime DateAndTime OPTIONAL, extensions SEQUENCE (SIZE (1..1000)) OF ExtensionField OPTIONAL, ... }
Used as argument type by
CS1Operations.activateServiceFiltering
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CS1ActivateServiceFilteringArg()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CS1ActivateServiceFilteringArg
clone()
Constructs a copy of this object and everything reachable from it.static CS1ActivateServiceFilteringArg
copyOf(CS1ActivateServiceFilteringArg from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.CS1ExtensionField[]
getExtensions()
Gets the value of the field extensions.static FieldAccessor[]
getFieldAccessors()
Gets a new array of the accessors for fields of this type.Map<String,Object>
getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value.CS1FilteredCallTreatment
getFilteredCallTreatment()
Gets the value of the field filteredCallTreatment.CS1FilteringCharacteristics
getFilteringCharacteristics()
Gets the value of the field filteringCharacteristics.CS1FilteringCriteria
getFilteringCriteria()
Gets the value of the field filteringCriteria.CS1FilteringTimeOut
getFilteringTimeOut()
Gets the value of the field filteringTimeOut.DateAndTime
getStartTime()
Gets the value of the field startTime.boolean
hasExtensions()
Tests whether the field extensions has a value.boolean
hasFilteredCallTreatment()
Tests whether the field filteredCallTreatment has a value.boolean
hasFilteringCharacteristics()
Tests whether the field filteringCharacteristics has a value.boolean
hasFilteringCriteria()
Tests whether the field filteringCriteria has a value.boolean
hasFilteringTimeOut()
Tests whether the field filteringTimeOut has a value.boolean
hasStartTime()
Tests whether the field startTime has a value.CS1ActivateServiceFilteringArg
setExtensions(CS1ExtensionField[] value)
Sets the value of the field extensions.CS1ActivateServiceFilteringArg
setFilteredCallTreatment(CS1FilteredCallTreatment value)
Sets the value of the field filteredCallTreatment.CS1ActivateServiceFilteringArg
setFilteringCharacteristics(CS1FilteringCharacteristics value)
Sets the value of the field filteringCharacteristics.CS1ActivateServiceFilteringArg
setFilteringCriteria(CS1FilteringCriteria value)
Sets the value of the field filteringCriteria.CS1ActivateServiceFilteringArg
setFilteringTimeOut(CS1FilteringTimeOut value)
Sets the value of the field filteringTimeOut.void
setReadOnly()
Sets this and all its fields to be immutable.CS1ActivateServiceFilteringArg
setStartTime(DateAndTime value)
Sets the value of the field startTime.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public CS1ActivateServiceFilteringArg clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static CS1ActivateServiceFilteringArg copyOf(CS1ActivateServiceFilteringArg from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.- Parameters:
from
- the object from which to copy- Returns:
- CS1ActivateServiceFilteringArg
-
getExtensions
public CS1ExtensionField[] getExtensions()
Gets the value of the field extensions.- Returns:
- value of field extensions, or null if not present
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getFilteredCallTreatment
public CS1FilteredCallTreatment getFilteredCallTreatment()
Gets the value of the field filteredCallTreatment.- Returns:
- value of field filteredCallTreatment, or null if not present
-
getFilteringCharacteristics
public CS1FilteringCharacteristics getFilteringCharacteristics()
Gets the value of the field filteringCharacteristics.- Returns:
- value of field filteringCharacteristics, or null if not present
-
getFilteringCriteria
public CS1FilteringCriteria getFilteringCriteria()
Gets the value of the field filteringCriteria.- Returns:
- value of field filteringCriteria, or null if not present
-
getFilteringTimeOut
public CS1FilteringTimeOut getFilteringTimeOut()
Gets the value of the field filteringTimeOut.- Returns:
- value of field filteringTimeOut, or null if not present
-
getStartTime
public DateAndTime getStartTime()
Gets the value of the field startTime.- Returns:
- value of field startTime, or null if not present
-
hasExtensions
public boolean hasExtensions()
Tests whether the field extensions has a value.- Returns:
- whether the field extensions has a value
-
hasFilteredCallTreatment
public boolean hasFilteredCallTreatment()
Tests whether the field filteredCallTreatment has a value.- Returns:
- whether the field filteredCallTreatment has a value
-
hasFilteringCharacteristics
public boolean hasFilteringCharacteristics()
Tests whether the field filteringCharacteristics has a value.- Returns:
- whether the field filteringCharacteristics has a value
-
hasFilteringCriteria
public boolean hasFilteringCriteria()
Tests whether the field filteringCriteria has a value.- Returns:
- whether the field filteringCriteria has a value
-
hasFilteringTimeOut
public boolean hasFilteringTimeOut()
Tests whether the field filteringTimeOut has a value.- Returns:
- whether the field filteringTimeOut has a value
-
hasStartTime
public boolean hasStartTime()
Tests whether the field startTime has a value.- Returns:
- whether the field startTime has a value
-
setExtensions
public CS1ActivateServiceFilteringArg setExtensions(CS1ExtensionField[] value) throws IllegalStateException
Sets the value of the field extensions. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setFilteredCallTreatment
public CS1ActivateServiceFilteringArg setFilteredCallTreatment(CS1FilteredCallTreatment value) throws IllegalStateException
Sets the value of the field filteredCallTreatment.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setFilteringCharacteristics
public CS1ActivateServiceFilteringArg setFilteringCharacteristics(CS1FilteringCharacteristics value) throws IllegalStateException
Sets the value of the field filteringCharacteristics.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setFilteringCriteria
public CS1ActivateServiceFilteringArg setFilteringCriteria(CS1FilteringCriteria value) throws IllegalStateException
Sets the value of the field filteringCriteria.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setFilteringTimeOut
public CS1ActivateServiceFilteringArg setFilteringTimeOut(CS1FilteringTimeOut value) throws IllegalStateException
Sets the value of the field filteringTimeOut.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setStartTime
public CS1ActivateServiceFilteringArg setStartTime(DateAndTime value) throws IllegalStateException
Sets the value of the field startTime. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-