Search in sources :

Example 1 with ValueDescription

use of org.omg.CORBA.ValueDescription in project wildfly by wildfly.

the class ValueDefImpl method describe.

// ContainedImpl implementation ----------------------------------
public Description describe() {
    String defined_in_id = "IR";
    if (defined_in instanceof org.omg.CORBA.ContainedOperations)
        defined_in_id = ((org.omg.CORBA.ContainedOperations) defined_in).id();
    ValueDescription md = new ValueDescription(name, id, is_abstract, is_custom, defined_in_id, version, supported_interfaces, abstract_base_valuetypes, false, baseValue);
    Any any = getORB().create_any();
    ValueDescriptionHelper.insert(any, md);
    return new Description(DefinitionKind.dk_Value, any);
}
Also used : ParameterDescription(org.omg.CORBA.ParameterDescription) Description(org.omg.CORBA.ContainedPackage.Description) ValueDescription(org.omg.CORBA.ValueDescription) AttributeDescription(org.omg.CORBA.AttributeDescription) OperationDescription(org.omg.CORBA.OperationDescription) FullValueDescription(org.omg.CORBA.ValueDefPackage.FullValueDescription) ValueDescription(org.omg.CORBA.ValueDescription) FullValueDescription(org.omg.CORBA.ValueDefPackage.FullValueDescription) Any(org.omg.CORBA.Any)

Aggregations

Any (org.omg.CORBA.Any)1 AttributeDescription (org.omg.CORBA.AttributeDescription)1 Description (org.omg.CORBA.ContainedPackage.Description)1 OperationDescription (org.omg.CORBA.OperationDescription)1 ParameterDescription (org.omg.CORBA.ParameterDescription)1 FullValueDescription (org.omg.CORBA.ValueDefPackage.FullValueDescription)1 ValueDescription (org.omg.CORBA.ValueDescription)1