SchemaValueMarshaller

Provides the runtime context for converting values between their XML Schema and their Java type representation, based on ValueSemanticsProvider if specified.

API

SchemaValueMarshaller.java
interface SchemaValueMarshaller {
  Identifier actionIdentifier(ActionInvocationDto actionInvocationDto)     (1)
  Identifier actionIdentifier(ActionDto actionDto)     (2)
  Identifier propertyIdentifier(PropertyDto propertyDto)     (3)
  ManagedObject recoverReferenceFrom(OidDto oidDto)
  ManagedObject recoverPropertyFrom(PropertyDto propertyDto)     (4)
  ManagedObject recoverParameterFrom(Identifier paramIdentifier, ParamDto paramDto)     (5)
  ActionInvocationDto recordActionResultScalar(ActionInvocationDto invocationDto, ObjectAction objectAction, ManagedObject value)     (6)
  ActionInvocationDto recordActionResultNonScalar(ActionInvocationDto invocationDto, ObjectAction objectAction, Can<ManagedObject> values)     (7)
  PropertyDto recordPropertyValue(PropertyDto propertyDto, OneToOneAssociation property, ManagedObject value)     (8)
  ParamDto recordParamScalar(ParamDto paramDto, ObjectActionParameter param, ManagedObject value)     (9)
  ParamDto recordParamNonScalar(ParamDto paramDto, ObjectActionParameter param, Can<ManagedObject> values)     (10)
}
1 actionIdentifier(ActionInvocationDto)

Recovers an Action’s Identifier from given DTO.

2 actionIdentifier(ActionDto)

Recovers an Action’s Identifier from given DTO.

3 propertyIdentifier(PropertyDto)

Recovers a Property’s Identifier from given DTO.

4 recoverPropertyFrom(PropertyDto)

Recovers a property value, using ValueSemanticsProvider for corresponding Property . Cardinality 0..1

5 recoverParameterFrom(Identifier, ParamDto)

Recovers a parameter value, using ValueSemanticsProvider for corresponding Action Parameter . Cardinality 0..n

6 recordActionResultScalar(ActionInvocationDto, ObjectAction, ManagedObject)

Records given result value into given DTO object, using ValueSemanticsProvider for corresponding Action .

7 recordActionResultNonScalar(ActionInvocationDto, ObjectAction, Can)

Records given result values into given DTO object, using ValueSemanticsProvider for corresponding Action .

8 recordPropertyValue(PropertyDto, OneToOneAssociation, ManagedObject)

Records given property value into given DTO object, using ValueSemanticsProvider for corresponding Property .

9 recordParamScalar(ParamDto, ObjectActionParameter, ManagedObject)

Records given parameter value into given DTO object, using ValueSemanticsProvider for corresponding Action Parameter .

10 recordParamNonScalar(ParamDto, ObjectActionParameter, Can)

Records given parameter values into given DTO object, using ValueSemanticsProvider for corresponding Action Parameter .

Members

actionIdentifier(ActionInvocationDto)

Recovers an Action’s Identifier from given DTO.

actionIdentifier(ActionDto)

Recovers an Action’s Identifier from given DTO.

propertyIdentifier(PropertyDto)

Recovers a Property’s Identifier from given DTO.

recoverPropertyFrom(PropertyDto)

Recovers a property value, using ValueSemanticsProvider for corresponding Property . Cardinality 0..1

recoverParameterFrom(Identifier, ParamDto)

Recovers a parameter value, using ValueSemanticsProvider for corresponding Action Parameter . Cardinality 0..n

Packed up if non-scalar.

recordActionResultScalar(ActionInvocationDto, ObjectAction, ManagedObject)

Records given result value into given DTO object, using ValueSemanticsProvider for corresponding Action .

recordActionResultNonScalar(ActionInvocationDto, ObjectAction, Can)

Records given result values into given DTO object, using ValueSemanticsProvider for corresponding Action .

recordPropertyValue(PropertyDto, OneToOneAssociation, ManagedObject)

Records given property value into given DTO object, using ValueSemanticsProvider for corresponding Property .

recordParamScalar(ParamDto, ObjectActionParameter, ManagedObject)

Records given parameter value into given DTO object, using ValueSemanticsProvider for corresponding Action Parameter .

recordParamNonScalar(ParamDto, ObjectActionParameter, Can)

Records given parameter values into given DTO object, using ValueSemanticsProvider for corresponding Action Parameter .