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;
}
Aggregations