Search in sources :

Example 1 with FullValueDescription

use of org.omg.CORBA.ValueDefPackage.FullValueDescription in project wildfly by wildfly.

the class ValueDefImpl method describe_value.

public FullValueDescription describe_value() {
    if (fullValueDescription != null)
        return fullValueDescription;
    // Has to create the FullValueDescription
    // TODO
    OperationDescription[] operations = new OperationDescription[0];
    AttributeDescription[] attributes = new AttributeDescription[0];
    String defined_in_id = "IDL:Global:1.0";
    if (defined_in instanceof org.omg.CORBA.ContainedOperations)
        defined_in_id = ((org.omg.CORBA.ContainedOperations) defined_in).id();
    fullValueDescription = new FullValueDescription(name, id, is_abstract, is_custom, defined_in_id, version, operations, attributes, getValueMembers(), // TODO
    new Initializer[0], supported_interfaces, abstract_base_valuetypes, false, baseValue, typeCode);
    return fullValueDescription;
}
Also used : Initializer(org.omg.CORBA.Initializer) FullValueDescription(org.omg.CORBA.ValueDefPackage.FullValueDescription) OperationDescription(org.omg.CORBA.OperationDescription) AttributeDescription(org.omg.CORBA.AttributeDescription)

Aggregations

AttributeDescription (org.omg.CORBA.AttributeDescription)1 Initializer (org.omg.CORBA.Initializer)1 OperationDescription (org.omg.CORBA.OperationDescription)1 FullValueDescription (org.omg.CORBA.ValueDefPackage.FullValueDescription)1