Skip navigation links

Package com.orchestranetworks.addon.igov

Classes and interfaces that get a node's label and description.

See: Description

Package com.orchestranetworks.addon.igov Description

Classes and interfaces that get a node's label and description.

You can use the default IGovLabelingSchemaDocumentation to call the API without extending SchemaDocumentation by adding osd:documentation definition to the data model.

    <xs:annotation>
        <xs:appinfo>
            <osd:documentation class="com.orchestranetworks.addon.igov.IGovLabelingSchemaDocumentation" />
        </xs:appinfo>
    </xs:annotation>

You also can call IGovLabeling API by directly extending SchemaDocumentation.

        public class IGovLabelingSchemaDocumentation extends SchemaDocumentation
        {
                public String getLabel(SchemaDocumentationContext dContext)
                {
                        IGovLabeling labeling = IGovLabelingFactory.getInstance();
        
                        if (labeling == null)
                        {
                                return null;
                        }
        
                        return labeling.getLabel(new IGovLabelingContext(dContext));
                }
        
                public String getDescription(SchemaDocumentationContext dContext)
                {
                        IGovLabeling labeling = IGovLabelingFactory.getInstance();
        
                        if (labeling == null)
                        {
                                return null;
                        }
        
                        return labeling.getDescription(new IGovLabelingContext(dContext));
                }
        
                public void setup(SchemaDocumentationSetupContext context)
                {
                        //N.A
                }
        }
Skip navigation links

Add-ons Version 4.5.22.

Copyright 2001-2025. Cloud Software Group, Inc. All rights reserved.
All third party product and company names and third party marks mentioned in this document are the property of their respective owners and are mentioned for identification.