Search in sources :

Example 1 with FloatingPointRange

use of org.codice.alliance.nsili.common.GIAS.FloatingPointRange in project alliance by codice.

the class NsiliAttributesGenerator method getNsilGmtiAttributes.

public static List<AttributeInformation> getNsilGmtiAttributes() {
    String prefix = NsiliConstants.NSIL_GMTI + ".";
    Domain domain;
    List<AttributeInformation> attributes = new ArrayList<>();
    domain = new Domain();
    domain.fr(new FloatingPointRange(0.0, 4294967295.0));
    attributes.add(new AttributeInformation(prefix + NsiliConstants.IDENTIFIER_JOB, AttributeType.FLOATING_POINT, domain, "", "", RequirementMode.MANDATORY, "A platform-assigned number identifying the specific requestor task to which the packet pertains. The Job ID shall be unique within a mission.", false, true));
    domain = new Domain();
    domain.ir(POSITIVE_INT_RANGE);
    attributes.add(new AttributeInformation(prefix + NsiliConstants.NUMBER_OF_TARGET_REPORTS, AttributeType.INTEGER, domain, "", "", RequirementMode.MANDATORY, "The total number of target reports within all the dwells in the file.", false, true));
    return attributes;
}
Also used : AttributeInformation(org.codice.alliance.nsili.common.GIAS.AttributeInformation) FloatingPointRange(org.codice.alliance.nsili.common.GIAS.FloatingPointRange) ArrayList(java.util.ArrayList) Domain(org.codice.alliance.nsili.common.GIAS.Domain)

Aggregations

ArrayList (java.util.ArrayList)1 AttributeInformation (org.codice.alliance.nsili.common.GIAS.AttributeInformation)1 Domain (org.codice.alliance.nsili.common.GIAS.Domain)1 FloatingPointRange (org.codice.alliance.nsili.common.GIAS.FloatingPointRange)1