264265266267268269270271272273274275
a.setName( "id" ); MetaField b = new StringField(); b.setName( "name" ); MetaField c = new IntegerField(); c.setName( "value" ); MetaField d = new DateField(); d.setName( "time" ); mc.addMetaField( a ); mc.addMetaField( b ); mc.addMetaField( c ); mc.addMetaField( d );