/** * Return the type info of a nested record. We only consider nesting * to one level. * @param name Name of the nested record */ public RecordTypeInfo getNestedStructTypeInfo(String name) { StructTypeID stid = sTid.findStruct(name); if (null == stid) return null; return new RecordTypeInfo(name, stid); }
/** * Create an empty RecordTypeInfo object. */ public RecordTypeInfo() { sTid = new StructTypeID(); }
/** * Return a collection of field type infos */ public Collection<FieldTypeInfo> getFieldTypeInfos() { return sTid.getFieldTypeInfos(); }
/** * Return the type info of a nested record. We only consider nesting * to one level. * @param name Name of the nested record */ public RecordTypeInfo getNestedStructTypeInfo(String name) { StructTypeID stid = sTid.findStruct(name); if (null == stid) return null; return new RecordTypeInfo(name, stid); }
/** * Create a RecordTypeInfo object representing a record with the given name * @param name Name of the record */ public RecordTypeInfo(String name) { this.name = name; sTid = new StructTypeID(); }
/** * Return a collection of field type infos */ public Collection<FieldTypeInfo> getFieldTypeInfos() { return sTid.getFieldTypeInfos(); }
/** * We use a basic hashcode implementation, since this class will likely not * be used as a hashmap key */ @Override public int hashCode() { return 37*17+typeIDElement.hashCode(); }
/** * Return the type info of a nested record. We only consider nesting * to one level. * @param name Name of the nested record */ public RecordTypeInfo getNestedStructTypeInfo(String name) { StructTypeID stid = sTid.findStruct(name); if (null == stid) return null; return new RecordTypeInfo(name, stid); }
/** * Create a RecordTypeInfo object representing a record with the given name * @param name Name of the record */ public RecordTypeInfo(String name) { this.name = name; sTid = new StructTypeID(); }
/** * Return a collection of field type infos */ public Collection<FieldTypeInfo> getFieldTypeInfos() { return sTid.getFieldTypeInfos(); }
/** * Return the type info of a nested record. We only consider nesting * to one level. * @param name Name of the nested record */ public RecordTypeInfo getNestedStructTypeInfo(String name) { StructTypeID stid = sTid.findStruct(name); if (null == stid) return null; return new RecordTypeInfo(name, stid); }
/** * Create an empty RecordTypeInfo object. */ public RecordTypeInfo() { sTid = new StructTypeID(); }
/** * Return a collection of field type infos */ public Collection<FieldTypeInfo> getFieldTypeInfos() { return sTid.getFieldTypeInfos(); }
/** * Return the type info of a nested record. We only consider nesting * to one level. * @param name Name of the nested record */ public RecordTypeInfo getNestedStructTypeInfo(String name) { StructTypeID stid = sTid.findStruct(name); if (null == stid) return null; return new RecordTypeInfo(name, stid); }
/** * Return the type info of a nested record. We only consider nesting * to one level. * @param name Name of the nested record */ public RecordTypeInfo getNestedStructTypeInfo(String name) { StructTypeID stid = sTid.findStruct(name); if (null == stid) return null; return new RecordTypeInfo(name, stid); }