ch.tatool.core.data
Class DataUtils

java.lang.Object
  extended by ch.tatool.core.data.DataUtils

public class DataUtils
extends Object


Constructor Summary
DataUtils()
           
 
Method Summary
static void clearDescriptivePropertyHolder(DescriptivePropertyHolder propertyHolder)
           
static void clearPropertyHolder(PropertyHolder propertyHolder, Property<?>[] properties)
          Removes all properties from the properties holder.
static String getStringBinaryModuleProperty(Module module, String propertyName)
          Get a String from the binary module properties.
static void putStringBinaryModuleProperty(Module module, String propertyName, String propertyValue)
          Put a String into the binary module properties.
static void storeProperties(DataContainer dataContainer, DescriptivePropertyHolder propertyHolder)
           
static void storeProperties(DataContainer dataContainer, PropertyHolder propertyHolder, Property<?>[] properties)
          Copies all properties from the holder onto a PropertiesContainer object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataUtils

public DataUtils()
Method Detail

getStringBinaryModuleProperty

public static String getStringBinaryModuleProperty(Module module,
                                                   String propertyName)
Get a String from the binary module properties.


putStringBinaryModuleProperty

public static void putStringBinaryModuleProperty(Module module,
                                                 String propertyName,
                                                 String propertyValue)
Put a String into the binary module properties.


clearPropertyHolder

public static void clearPropertyHolder(PropertyHolder propertyHolder,
                                       Property<?>[] properties)
Removes all properties from the properties holder.


clearDescriptivePropertyHolder

public static void clearDescriptivePropertyHolder(DescriptivePropertyHolder propertyHolder)

storeProperties

public static void storeProperties(DataContainer dataContainer,
                                   PropertyHolder propertyHolder,
                                   Property<?>[] properties)
Copies all properties from the holder onto a PropertiesContainer object.


storeProperties

public static void storeProperties(DataContainer dataContainer,
                                   DescriptivePropertyHolder propertyHolder)


Copyright © 2012. All Rights Reserved.