// this can probably work on contentValues_
protected long dynamicCountFromUserValue( XTCENamedObject item, String form ) {
        // this can probably work on contentValues_
        String paramFullPath = item.getFullPath();
        for ( XTCEContainerContentEntry entry : contentList_ ) {
            if ( ( entry.getEntryType() != FieldType.PARAMETER ) &&
                 ( entry.getEntryType() != FieldType.ARGUMENT  ) ) {
                continue;
            }
            XTCEContainerEntryValue valueObj = entry.getValue();
            if ( entry.getValue() == null ) {
                continue;
            }
            if ( entry.getItemFullPath().equals( paramFullPath ) == true ) {
                if ( valueObj.getOperator().equals( "==" ) == true ) { // NOI18N
                    try {
                        return Long.parseLong( valueObj.getCalibratedValue() );
                    } catch ( NumberFormatException ex ) {
                        warnings_.add(
                            XTCEFunctions.getText( "xml_dynamic_count_numeric_error" ) + // NOI18N
                            " " + // NOI18N
                            item.getName() +
                            " (" + // NOI18N
                            XTCEFunctions.getText( "general_value" ) + // NOI18N
                            " '" + // NOI18N
                            valueObj.getCalibratedValue() +
                            "')" ); // NOI18N
                        return 1;
                    }
                }
                warnings_.add(
                    XTCEFunctions.getText( "xml_dynamic_count_missing_error" ) + // NOI18N
                    " " + // NOI18N
                    item.getName() +
                    ", " + // NOI18N
                    XTCEFunctions.getText( "xml_dynamic_count_assume1" ) ); // NOI18N
                return 1;
            }
        }
        return 1;
    }
protected long dynamicCountFromUserValue( XTCENamedObject item, String form ) {
// this can probably work on contentValues_
String paramFullPath = item.getFullPath();
for ( XTCEContainerContentEntry entry : contentList_ ) {
protected long dynamicCountFromUserValue( XTCENamedObject item, String form ) {
// this can probably work on contentValues_
String paramFullPath = item.getFullPath();
for ( XTCEContainerContentEntry entry : contentList_ ) {
if ( ( entry.getEntryType() != FieldType.PARAMETER ) &&
( entry.getEntryType() != FieldType.ARGUMENT ) ) {
continue;
}
XTCEContainerEntryValue valueObj = entry.getValue();
if ( entry.getValue() == null ) {
continue;
}
protected long dynamicCountFromUserValue( XTCENamedObject item, String form ) {
// this can probably work on contentValues_
String paramFullPath = item.getFullPath();
for ( XTCEContainerContentEntry entry : contentList_ ) {
if ( ( entry.getEntryType() != FieldType.PARAMETER ) &&
( entry.getEntryType() != FieldType.ARGUMENT ) ) {
continue;
}
XTCEContainerEntryValue valueObj = entry.getValue();
if ( entry.getValue() == null ) {
continue;
}
if ( entry.getItemFullPath().equals( paramFullPath ) == true ) {
if ( valueObj.getOperator().equals( "==" ) == true ) { // NOI18N
try {
return Long.parseLong( valueObj.getCalibratedValue() );
} catch ( NumberFormatException ex ) {
warnings_.add(
XTCEFunctions.getText( "xml_dynamic_count_numeric_error" ) + // NOI18N
" " + // NOI18N
item.getName() +
" (" + // NOI18N