Class CAP3EndUserAddress
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- CAP3EndUserAddress
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CAP3EndUserAddress extends AbstractFieldsObject
API for CAP-datatypes.EndUserAddress. Generated from the following ASN.1 type definition.EndUserAddress ::= SEQUENCE { pDPTypeOrganization OCTET STRING (SIZE (1)), pDPTypeNumber OCTET STRING (SIZE (1)), pDPAddress OCTET STRING (SIZE (1..63)) OPTIONAL }
Used as field type by
CAP3GPRSEventSpecificInformation.Pdp_ContextchangeOfPositionSpecificInformation
.Used as field type by
CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
.Used as field type by
CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
.Used as field type by
CAP3InitialDPGPRSArg
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CAP3EndUserAddress()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP3EndUserAddress
clone()
Constructs a copy of this object and everything reachable from it.static CAP3EndUserAddress
copyOf(CAP3EndUserAddress 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.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.byte[]
getPDPAddress()
Gets the value of the field pDPAddress.byte[]
getPDPTypeNumber()
Gets the value of the field pDPTypeNumber.byte[]
getPDPTypeOrganization()
Gets the value of the field pDPTypeOrganization.boolean
hasPDPAddress()
Tests whether the field pDPAddress has a value.boolean
hasPDPTypeNumber()
Tests whether the field pDPTypeNumber has a value.boolean
hasPDPTypeOrganization()
Tests whether the field pDPTypeOrganization has a value.CAP3EndUserAddress
setPDPAddress(byte[] value)
Sets the value of the field pDPAddress.CAP3EndUserAddress
setPDPTypeNumber(byte[] value)
Sets the value of the field pDPTypeNumber.CAP3EndUserAddress
setPDPTypeOrganization(byte[] value)
Sets the value of the field pDPTypeOrganization.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Method Detail
-
clone
public CAP3EndUserAddress 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 CAP3EndUserAddress copyOf(CAP3EndUserAddress 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:
- CAP3EndUserAddress
-
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
-
getPDPAddress
public byte[] getPDPAddress()
Gets the value of the field pDPAddress.- Returns:
- value of field pDPAddress, or null if not present
-
getPDPTypeNumber
public byte[] getPDPTypeNumber()
Gets the value of the field pDPTypeNumber.- Returns:
- value of field pDPTypeNumber, or null if not present
-
getPDPTypeOrganization
public byte[] getPDPTypeOrganization()
Gets the value of the field pDPTypeOrganization.- Returns:
- value of field pDPTypeOrganization, or null if not present
-
hasPDPAddress
public boolean hasPDPAddress()
Tests whether the field pDPAddress has a value.- Returns:
- whether the field pDPAddress has a value
-
hasPDPTypeNumber
public boolean hasPDPTypeNumber()
Tests whether the field pDPTypeNumber has a value.- Returns:
- whether the field pDPTypeNumber has a value
-
hasPDPTypeOrganization
public boolean hasPDPTypeOrganization()
Tests whether the field pDPTypeOrganization has a value.- Returns:
- whether the field pDPTypeOrganization has a value
-
setPDPAddress
public CAP3EndUserAddress setPDPAddress(byte[] value) throws IllegalStateException
Sets the value of the field pDPAddress. 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
-
setPDPTypeNumber
public CAP3EndUserAddress setPDPTypeNumber(byte[] value) throws IllegalStateException
Sets the value of the field pDPTypeNumber.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setPDPTypeOrganization
public CAP3EndUserAddress setPDPTypeOrganization(byte[] value) throws IllegalStateException
Sets the value of the field pDPTypeOrganization.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-