public static DataEntry getBooleanField(String name) {
        DataEntry de = new DataEntry();
        de.setEntryName(name);
        DataEntryType det = DataEntryTypeServer.getType("type.boolean.name");
        de.setDataEntryPropertyList(getDefaultProperties(det));
        de.setDataEntryType(det);
        return de;
    }
public static DataEntry getBooleanField(String name) {
        DataEntry de = new DataEntry();
        de.setEntryName(name);
        DataEntryType det = DataEntryTypeServer.getType("type.boolean.name");
        de.setDataEntryPropertyList(getDefaultProperties(det));
        de.setDataEntryType(det);
        return de;
    }
public static DataEntry getBooleanField ( String name ) { DataEntry de = new DataEntry ( ) ; de . setEntryName ( name ) ; DataEntryType det = DataEntryTypeServer . getType ( "type.boolean.name" ) ; de . setDataEntryPropertyList ( getDefaultProperties ( det ) ) ; de . setDataEntryType ( det ) ; return de ; }
Create a boolean field

@param name Field name
@return DataEntry. The entry is not persisted into the database yet.
Create a boolean field