@Override public PropertyKey makePropertyKey(PropertyKeyMaker factory) { throw new IllegalArgumentException("Property Key with given name does not exist: " + factory.getName()); }
/** * Creates a new property key with default settings against the provided {@link PropertyKeyMaker}. * * @param factory PropertyKeyMaker through which the property key is created * @return A new property key * @throws IllegalArgumentException if the name is already in use or if other configured values are invalid. */ public default PropertyKey makePropertyKey(PropertyKeyMaker factory) { return factory.cardinality(defaultPropertyCardinality(factory.getName())).dataType(Object.class).make(); }
@Override public PropertyKey makePropertyKey(PropertyKeyMaker factory) { throw new IllegalArgumentException("Property Key with given name does not exist: " + factory.getName()); }
@Override public PropertyKey makePropertyKey(PropertyKeyMaker factory) { throw new IllegalArgumentException("Property Key with given name does not exist: " + factory.getName()); }
/** * Creates a new property key with default settings against the provided {@link PropertyKeyMaker}. * * @param factory PropertyKeyMaker through which the property key is created * @return A new property key * @throws IllegalArgumentException if the name is already in use or if other configured values are invalid. */ public default PropertyKey makePropertyKey(PropertyKeyMaker factory) { return factory.cardinality(defaultPropertyCardinality(factory.getName())).dataType(Object.class).make(); }