public class PropertyTypeServiceImpl extends Object implements PropertyTypeService
Constructor and Description |
---|
PropertyTypeServiceImpl(Map<String,Class> propertyTypeMap)
Constructs a new PropertyTypeService.
|
Modifier and Type | Method and Description |
---|---|
Class |
getType(String name)
Returns the class type of the property, or null if the property type could not be determined.
|
static PropertyTypeServiceImpl |
newInstance(Iterable<Property<?>> properties)
Creates a new instance of PropertyTypeServiceImpl from a collection of Property.
|
public Class getType(String name)
PropertyTypeService
getType
in interface PropertyTypeService
name
- property namepublic static PropertyTypeServiceImpl newInstance(Iterable<Property<?>> properties)
properties
- list of PropertyCopyright © 2013 Atlassian. All Rights Reserved.