Package | Description |
---|---|
org.da.protoframework.model.core |
Contains the models for the applications and services implementation.
|
org.da.protoframework.model.def |
Contains the models for the applications and services definition.
|
org.da.protoframework.model.types |
Contains the types definitions.
|
org.da.protoframework.util |
Contains utility classes for managing the framework.
|
Modifier and Type | Class and Description |
---|---|
static class |
Data.Any
The Any Data value.
|
static class |
Data.Array
The array Data value.
|
static class |
Data.Bool
The boolean Data value.
|
static class |
Data.Byte
The byte Data value.
|
static class |
Data.Char
The char Data value.
|
static class |
Data.Double
The double Data value.
|
static class |
Data.Enum
The enumeration Data value.
|
static class |
Data.Float
The float Data value.
|
static class |
Data.Int
The int Data value.
|
static class |
Data.JSON
The JSON Data value.
|
static class |
Data.Long
The long Data value.
|
static class |
Data.MapData
The array Data value.
|
static class |
Data.Nil
The boolean Data value.
|
static class |
Data.Obj
The Object Data value.
|
static class |
Data.Short
The short Data value.
|
static class |
Data.Str
The String Data value.
|
static class |
Data.Structure
The Structure Data value.
|
static class |
Data.Switch
The switch Data value.
|
static class |
Data.Union
The Union Data value.
|
static class |
Data.Url
The URL Data value.
|
static class |
Data.Void
An empty void Data value.
|
static class |
Data.Xml
The XML Data value.
|
Modifier and Type | Method and Description |
---|---|
Data<?> |
Data.clone() |
Data<?> |
Data.JSON.clone() |
Data<?> |
Data.Array.clone() |
Data<?> |
Data.MapData.clone() |
Data<?> |
Data.Obj.clone() |
Data<?> |
Data.Structure.clone() |
Data<?> |
Data.Union.clone() |
Data<?> |
Data.Switch.clone() |
Data<?> |
Datas.getData(java.lang.String name)
Return the Service Datas.
|
Data<?> |
RequestServiceInstance.getData(java.lang.String name)
Return the Data of a specified name.
|
Data<?> |
ResponseServiceInstance.getData(java.lang.String name)
Return the Data of a specified name.
|
Data<?> |
ServiceInstance.getData(java.lang.String name)
Return the Data of a specified name.
|
Data<?> |
Data.Structure.getFieldValueAsData(java.lang.String field)
Return the value of a field as a Data.
|
Data<?> |
Data.Array.getValueAsData(int index)
Return the value of an element as a Data.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Data<?>> |
Datas.getDatas()
Return the map of datas.
|
java.util.Map<java.lang.String,Data<?>> |
ServiceInstance.getDataValues()
Return the Service instance datas.
|
java.util.Iterator<Data<?>> |
Data.Array.iterator()
Return an iterator on each index on the array.
|
Modifier and Type | Method and Description |
---|---|
short |
Data.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Int.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Enum.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Long.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Float.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Double.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Short.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Byte.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Char.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Bool.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Nil.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Str.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Xml.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.JSON.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Url.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Array.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.MapData.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Obj.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Structure.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Union.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.Switch.copy(Data<?> data)
Copy the value of another Data.
|
short |
Data.copy(Data<?> data,
boolean strict)
Copy the value of another Data.
|
short |
Data.copy(Data<?> data,
boolean clone,
boolean strict)
Copy the value of another Data.
|
boolean |
Data.Structure.getFieldValueAsData(java.lang.String field,
Data<?> data)
Return the value of a field as a data.
|
boolean |
Data.getValueAsData(Data<?> data)
Return the value of a Data as another data.
|
boolean |
Data.Array.getValueAsData(Data<?> data)
Apply the value on another data array.
|
boolean |
Data.MapData.getValueAsData(Data<?> data)
Apply the value on another data map.
|
boolean |
Data.Structure.getValueAsData(Data<?> data)
Apply the value on another data Structure.
|
boolean |
Data.Union.getValueAsData(Data<?> data)
Apply the value on another data union.
|
boolean |
Data.Switch.getValueAsData(Data<?> data)
Apply the value on another data union.
|
Modifier and Type | Method and Description |
---|---|
void |
Datas.copyFrom(java.util.Map<java.lang.String,Data<?>> origin)
Copy the Datas from another Datas.
|
Modifier and Type | Method and Description |
---|---|
default Data<?> |
ServiceDefinition.createData(java.lang.String name)
Create a Data instance of a specified name.
|
Modifier and Type | Method and Description |
---|---|
Data<?> |
Type.createData()
Create a Data for this type.
|
Data<?> |
StructType.getFieldValueAsData(java.lang.String field,
java.lang.Object value)
Return the value of a field as a Data.
|
Data<?> |
ArrayType.getValueAsData(java.util.List<java.lang.Object> value,
int index)
Return the value of an element as a Data.
|
Data<? extends SimpleType> |
SimpleType.getValueAsData(java.lang.Object value)
Return a value as a Data.
|
Data<?> |
Type.getValueAsData(java.lang.Object value)
Return a value as a Data.
|
Modifier and Type | Method and Description |
---|---|
static Data<?> |
DataUtilities.createData(ServiceDefinition.Data dataDef)
Create a Data for a Service.
|
static Data<?> |
DataUtilities.createData(Type type)
Create a Data for a type.
|
Modifier and Type | Method and Description |
---|---|
static org.json.JSONElement |
DataUtilities.toJSON(Data<?> data,
boolean enumStateAsString)
Convert the content of a data as a JSON element.
|
Copyright ©2017-2023 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence