Class BaseCDPPropertyInput
- java.lang.Object
-
- org.apache.unomi.graphql.types.input.property.BaseCDPPropertyInput
-
- Direct Known Subclasses:
CDPBooleanPropertyInput
,CDPDatePropertyInput
,CDPFloatPropertyInput
,CDPGeoPointPropertyInput
,CDPIdentifierPropertyInput
,CDPIntPropertyInput
,CDPJsonPropertyInput
,CDPLongPropertyInput
,CDPSetPropertyInput
,CDPStringPropertyInput
public abstract class BaseCDPPropertyInput extends Object
-
-
Constructor Summary
Constructors Constructor Description BaseCDPPropertyInput(String name, Integer minOccurrences, Integer maxOccurrences, List<String> tags)
BaseCDPPropertyInput(BaseCDPPropertyInput input)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
deleteDefaultNumericRange(PropertyType type)
abstract String
getCDPPropertyType()
Integer
getMaxOccurrences()
Integer
getMinOccurrences()
String
getName()
List<String>
getTags()
PropertyType
toPropertyType()
protected void
updateDefaultNumericRange(PropertyType type, Double from, Double to)
void
updateType(PropertyType propertyType)
-
-
-
Method Detail
-
getName
public String getName()
-
getMinOccurrences
public Integer getMinOccurrences()
-
getMaxOccurrences
public Integer getMaxOccurrences()
-
getCDPPropertyType
public abstract String getCDPPropertyType()
-
updateType
public void updateType(PropertyType propertyType)
-
toPropertyType
public PropertyType toPropertyType()
-
updateDefaultNumericRange
protected void updateDefaultNumericRange(PropertyType type, Double from, Double to)
-
deleteDefaultNumericRange
protected void deleteDefaultNumericRange(PropertyType type)
-
-