@Deprecated public class MetadataServiceImpl extends Object
| Constructor and Description |
|---|
MetadataServiceImpl(DictionaryService... dictionaryServices)
Deprecated.
|
MetadataServiceImpl(String metadataContext)
Deprecated.
Create a Metadata service initialized using a given classpath metadata context file
|
MetadataServiceImpl(String metadataContext,
DictionaryService... dictionaryServices)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected Data.Value |
convertDefaultValue(Data.DataType dataType,
Object value)
Deprecated.
Convert Object value to respective DataType.
|
protected Data.DataType |
convertDictionaryDataType(String dataType)
Deprecated.
|
protected List<ConstraintMetadata> |
copyConstraints(ConstraintDescriptor constraintDescriptor)
Deprecated.
|
Metadata |
getMetadata(String objectKey,
String type,
String state)
Deprecated.
This method gets the metadata for the given object key
|
protected Metadata |
getMetadataFromDictionaryService(String objectKey,
String type,
String state)
Deprecated.
This invokes the appropriate dictionary service to get the object structure and then
converts it to a metadata structure.
|
protected State |
getObjectState(ObjectStructure objectStructure,
String type,
String state)
Deprecated.
This method retrieves the desire object state for the object structure.
|
protected ObjectStructure |
getObjectStructure(String objectKey)
Deprecated.
This method gets the object structure for given objectKey from a dictionaryService
|
protected Map<String,Metadata> |
getProperties(DataObjectStructure dataObjectStructure,
org.kuali.student.r1.common.assembly.dictionary.old.MetadataServiceImpl.RecursionCounter counter)
Deprecated.
|
protected boolean |
isRepeating(DataFieldDescriptor field)
Deprecated.
This method determines if a field is a repeating field
|
protected boolean |
isRepeating(Field field)
Deprecated.
This method determines if a field is repeating
|
protected void |
loadProperties(Map<String,Metadata> properties,
List<DataFieldDescriptor> fields,
org.kuali.student.r1.common.assembly.dictionary.old.MetadataServiceImpl.RecursionCounter counter)
Deprecated.
Retreives data object structure from the spring file and caches the properties
|
public MetadataServiceImpl(String metadataContext)
metadataContext - the classpath metadata context filepublic MetadataServiceImpl(DictionaryService... dictionaryServices)
public MetadataServiceImpl(String metadataContext, DictionaryService... dictionaryServices)
public Metadata getMetadata(String objectKey, String type, String state)
objectKey - type - state - protected void loadProperties(Map<String,Metadata> properties, List<DataFieldDescriptor> fields, org.kuali.student.r1.common.assembly.dictionary.old.MetadataServiceImpl.RecursionCounter counter)
properties - fields - protected boolean isRepeating(DataFieldDescriptor field)
field - protected Map<String,Metadata> getProperties(DataObjectStructure dataObjectStructure, org.kuali.student.r1.common.assembly.dictionary.old.MetadataServiceImpl.RecursionCounter counter)
protected Metadata getMetadataFromDictionaryService(String objectKey, String type, String state)
objectKey - type - state - protected boolean isRepeating(Field field)
field - protected ObjectStructure getObjectStructure(String objectKey)
objectKey - protected State getObjectState(ObjectStructure objectStructure, String type, String state)
objectStructure - type - state - protected List<ConstraintMetadata> copyConstraints(ConstraintDescriptor constraintDescriptor)
protected Data.Value convertDefaultValue(Data.DataType dataType, Object value)
dataType - value - protected Data.DataType convertDictionaryDataType(String dataType)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.