Class MAPExtensibleSystemFailureParam
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPExtensibleSystemFailureParam
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPExtensibleSystemFailureParam extends AbstractFieldsObject
API for MAP-ER-DataTypes.ExtensibleSystemFailureParam. Generated from the following ASN.1 type definition.ExtensibleSystemFailureParam ::= SEQUENCE { networkResource NetworkResource OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... additionalNetworkResource AdditionalNetworkResource OPTIONAL, -- Added in release 6. failureCauseParam FailureCauseParam OPTIONAL -- Added in release 7. }
Added in R96.Used as field type by
MAPSystemFailureParam
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPExtensibleSystemFailureParam()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPExtensibleSystemFailureParam
clone()
Constructs a copy of this object and everything reachable from it.static MAPExtensibleSystemFailureParam
copyOf(MAPExtensibleSystemFailureParam 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.MAPAdditionalNetworkResource
getAdditionalNetworkResource()
Gets the value of the field additionalNetworkResource.MAPExtensionContainer
getExtensionContainer()
Gets the value of the field extensionContainer.MAPFailureCauseParam
getFailureCauseParam()
Gets the value of the field failureCauseParam.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.MAPNetworkResource
getNetworkResource()
Gets the value of the field networkResource.boolean
hasAdditionalNetworkResource()
Tests whether the field additionalNetworkResource has a value.boolean
hasExtensionContainer()
Tests whether the field extensionContainer has a value.boolean
hasFailureCauseParam()
Tests whether the field failureCauseParam has a value.boolean
hasNetworkResource()
Tests whether the field networkResource has a value.MAPExtensibleSystemFailureParam
setAdditionalNetworkResource(MAPAdditionalNetworkResource value)
Sets the value of the field additionalNetworkResource.MAPExtensibleSystemFailureParam
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.MAPExtensibleSystemFailureParam
setFailureCauseParam(MAPFailureCauseParam value)
Sets the value of the field failureCauseParam.MAPExtensibleSystemFailureParam
setNetworkResource(MAPNetworkResource value)
Sets the value of the field networkResource.void
setReadOnly()
Sets this and all its fields to be immutable.-
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 MAPExtensibleSystemFailureParam 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 MAPExtensibleSystemFailureParam copyOf(MAPExtensibleSystemFailureParam 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:
- MAPExtensibleSystemFailureParam
-
getAdditionalNetworkResource
public MAPAdditionalNetworkResource getAdditionalNetworkResource()
Gets the value of the field additionalNetworkResource.- Returns:
- value of field additionalNetworkResource, or null if not present
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, or null if not present
-
getFailureCauseParam
public MAPFailureCauseParam getFailureCauseParam()
Gets the value of the field failureCauseParam.- Returns:
- value of field failureCauseParam, 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
-
getNetworkResource
public MAPNetworkResource getNetworkResource()
Gets the value of the field networkResource.- Returns:
- value of field networkResource, or null if not present
-
hasAdditionalNetworkResource
public boolean hasAdditionalNetworkResource()
Tests whether the field additionalNetworkResource has a value.- Returns:
- whether the field additionalNetworkResource has a value
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasFailureCauseParam
public boolean hasFailureCauseParam()
Tests whether the field failureCauseParam has a value.- Returns:
- whether the field failureCauseParam has a value
-
hasNetworkResource
public boolean hasNetworkResource()
Tests whether the field networkResource has a value.- Returns:
- whether the field networkResource has a value
-
setAdditionalNetworkResource
public MAPExtensibleSystemFailureParam setAdditionalNetworkResource(MAPAdditionalNetworkResource value) throws IllegalStateException
Sets the value of the field additionalNetworkResource. 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
-
setExtensionContainer
public MAPExtensibleSystemFailureParam setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. 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
-
setFailureCauseParam
public MAPExtensibleSystemFailureParam setFailureCauseParam(MAPFailureCauseParam value) throws IllegalStateException
Sets the value of the field failureCauseParam. 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
-
setNetworkResource
public MAPExtensibleSystemFailureParam setNetworkResource(MAPNetworkResource value) throws IllegalStateException
Sets the value of the field networkResource. 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
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
-