Menu

Marshalling definition

InvisibleMedia

Marshalling is a data transport. A marshalling object can copy data into an another marshalling object.

There are a few types of marshalling classes

  • MarshallingValue (a single value)
    • MarshallingRegexValue : a string and a validation rule
    • MarshallingEnumerationValue : an enum and a validation rule
    • MarshallingBoolValue : a boolean
    • MarshallingIntValue : an int
    • MarshallingDoubleValue : a double
    • MarshallingObjectValue : any object
  • MarshallingHash : a list of couples name,value
  • MarshallingList : a list of items

These classes creates object as such a tree of datas.

These datas are transported into an another object at any time.

Copy, Mapping, Conversion and Extract are functions that move the data model into an another data model (but similar)