Class PropertyTypeServiceImpl
java.lang.Object
com.atlassian.crowd.search.query.entity.PropertyTypeServiceImpl
- All Implemented Interfaces:
PropertyTypeService
Implements a PropertyTypeServiceImpl.
- Since:
- 2.2
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyTypeServiceImpl(Map<String, Class> propertyTypeMap) Constructs a new PropertyTypeService. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>Returns the class type of the property, ornullif the property type could not be determined.static PropertyTypeServiceImplnewInstance(Iterable<Property<?>> properties) Creates a new instance ofPropertyTypeServiceImpl</tt> from a collection of <tt>Property.
-
Constructor Details
-
PropertyTypeServiceImpl
Constructs a new PropertyTypeService.- Parameters:
propertyTypeMap- property-type map
-
-
Method Details
-
getType
Description copied from interface:PropertyTypeServiceReturns the class type of the property, ornullif the property type could not be determined.- Specified by:
getTypein interfacePropertyTypeService- Parameters:
name- property name- Returns:
- Class type of the property, or
nullif the property type could not be determined
-
newInstance
Creates a new instance ofPropertyTypeServiceImpl</tt> from a collection of <tt>Property.- Parameters:
properties- list of Property- Returns:
- new instance of
PropertyTypeServiceImpl
-