| java.lang.Object org.jpox.metadata.MetaDataUtils
MetaDataUtils | public class MetaDataUtils (Code) | | Utilities needed for the processing of MetaData.
version: $Revision: 1.49 $ |
MetaDataUtils | protected MetaDataUtils()(Code) | | Protected constructor to prevent outside instantiation
|
arrayStorableAsByteArrayInSingleColumn | public boolean arrayStorableAsByteArrayInSingleColumn(AbstractMemberMetaData fmd)(Code) | | Convenience method to determine if an array is storable in a single column as a byte
array.
Parameters: fmd - The field Whether this is an array that can be stored in a single column as non-serialised |
getImplementationNamesForReferenceField | public String[] getImplementationNamesForReferenceField(AbstractMemberMetaData fmd, int fieldRole, ClassLoaderResolver clr)(Code) | | Convenience method to return the class names of the available implementation types for
an interface/Object field, given its required role. Removes all duplicates from the list.
Parameters: fmd - MetaData for the field Parameters: fieldRole - The role of the field Parameters: clr - the ClassLoaderResolver Names of the classes of the possible implementations of this interface/Object throws: JPOXUserException - if no implementation types are found for the reference type field |
getInstance | public static synchronized MetaDataUtils getInstance()(Code) | | Gets an instance of MetaDataUtils
a singleton instance of MetaDataUtils |
getValuesForCommaSeparatedAttribute | public String[] getValuesForCommaSeparatedAttribute(String attr)(Code) | | Convenience method that splits a comma-separated list of values into a String array (removing whitespace).
Parameters: attr - The attribute value The string components |
storesFCO | public boolean storesFCO(AbstractMemberMetaData fmd, ClassLoaderResolver clr)(Code) | | Convenience method that returns if a field stores a First-Class object (FCO).
Parameters: fmd - MetaData for the field Parameters: clr - ClassLoaderResolver resolver Whether it stores a FCO |
|
|