public Class<?> getClassMapType() { if(collectionTypeCls != null) { return collectionTypeCls; } collectionTypeCls = getClassTypeFromName(mapType); return collectionTypeCls; }
public Class<?> getClassMapType() { if(collectionTypeCls != null) { return collectionTypeCls; } collectionTypeCls = getClassTypeFromName(mapType); return collectionTypeCls; }
private SchemaProperty(final String name, final String fieldName, final String type, final String desc, final boolean isImmutable, final List<String> enums, final String defaultValue, final boolean indexed) { super(name, getClassTypeFromName(type), fieldName, desc, isImmutable, indexed); this.defaultValue = defaultValue; this.enums = enums; this.type = Preconditions.checkNotNull(type); }
private SchemaProperty(final String name, final String fieldName, final String type, final String desc, final boolean isImmutable, final List<String> enums, final String defaultValue, final boolean indexed) { super(name, getClassTypeFromName(type), fieldName, desc, isImmutable, indexed); this.defaultValue = defaultValue; this.enums = enums; this.type = Preconditions.checkNotNull(type); }
private SchemaPropertyList(final String name, final String fieldName, final String type, final String desc, final boolean isImmutable, final List<String> enums, final String collectionType, final List<String> defaultValues, final boolean indexed) { super(name, getClassTypeFromName(type), fieldName, desc, isImmutable, indexed); this.collectionType = Preconditions.checkNotNull(collectionType); this.type = Preconditions.checkNotNull(type); this.defaultValues = defaultValues; this.enums = enums; }
private SchemaPropertyList(final String name, final String fieldName, final String type, final String desc, final boolean isImmutable, final List<String> enums, final String collectionType, final List<String> defaultValues, final boolean indexed) { super(name, getClassTypeFromName(type), fieldName, desc, isImmutable, indexed); this.collectionType = Preconditions.checkNotNull(collectionType); this.type = Preconditions.checkNotNull(type); this.defaultValues = defaultValues; this.enums = enums; }