pl.edu.agh.cast.data.converter
Class ConverterUtil

java.lang.Object
  extended by pl.edu.agh.cast.data.converter.ConverterUtil

public final class ConverterUtil
extends Object

Utility methods for converters.

Author:
AGH CAST Team

Constructor Summary
ConverterUtil()
           
 
Method Summary
static MetaProperty getMetaProperty(IPropertyContainer container, String name, PropertyType type)
          Returns the meta-property with given name from given property container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterUtil

public ConverterUtil()
Method Detail

getMetaProperty

public static MetaProperty getMetaProperty(IPropertyContainer container,
                                           String name,
                                           PropertyType type)
Returns the meta-property with given name from given property container. If no such property exists then a new one (with given type, non-writable, matchable) is added to container's meta-property manager.

Parameters:
container - the property container
name - the name of the meta-property
type - the type of the meta-property (used only when meta-property does not exist yet)
Returns:
the meta-property with given name


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.