public class SchemaPathMap
extends java.lang.Object
SchemaPath
instances that are defined in the framework
configuration files, instantiated by FrameworkConfigReader instances, and accessed by MetaDataFramework.Constructor and Description |
---|
SchemaPathMap()
Constructor for the SchemaPathMap object
|
Modifier and Type | Method and Description |
---|---|
void |
clearPaths()
NOT YET DOCUMENTED
|
java.util.List |
getCollectionConfigPaths()
CollectionConfigPaths represent schema fields that hold default information that will be inserted in new
records.
|
java.util.List |
getCopyRecordPaths()
CopyRecordPaths represent schema fields that will be copied to new records during record copy operations.
|
java.util.List |
getInitialFieldCollapsePaths()
Return a list of xpaths for which an initialFieldCollapse state has been specified"
|
java.util.List |
getInputHelperPaths() |
java.util.List |
getMinimalRecordPaths()
MinimalRecordPaths represent fields that are required for new records.
|
SchemaPath |
getPathByName(java.lang.String name)
Gets a SchemaPath for specified pathName.
|
SchemaPath |
getPathByPath(java.lang.String xpath)
Gets a SchemaPath for specified xpath.
|
java.util.List |
getReadOnlyPaths()
Returns lists of xpaths instances representing fields configured as "readOnly".
|
java.util.List |
getSchemaPathsByValueType(java.lang.String valueType)
Returns list of SchemaPath instances having specified valueType.
|
java.util.List |
getSchemaPathsByValueTypes(java.util.List valueTypes)
Returns list of SchemaPath instances whose valueType is contained in the given list of pathTypes.
|
static void |
prtln(java.lang.String s)
Description of the Method
|
void |
putPath(SchemaPath schemaPath)
Add a SchemaPath.
|
java.lang.String |
toString()
NOT YET DOCUMENTED
|
public java.util.List getCopyRecordPaths()
public java.util.List getCollectionConfigPaths()
For example, the ADN framework config contains collectionConfig paths for "termsOfUse", among others.
public java.util.List getMinimalRecordPaths()
public java.util.List getInputHelperPaths()
public java.util.List getInitialFieldCollapsePaths()
public java.util.List getSchemaPathsByValueTypes(java.util.List valueTypes)
valueTypes
- NOT YET DOCUMENTEDpublic java.util.List getSchemaPathsByValueType(java.lang.String valueType)
valueType
- A SchemaPath valueTypepublic java.util.List getReadOnlyPaths()
For example, ID fields are sometimes desireable to be read only"
public void putPath(SchemaPath schemaPath)
schemaPath
- SchemaPath instance to be added.public SchemaPath getPathByPath(java.lang.String xpath)
xpath
- xpath for SchemaPathpublic SchemaPath getPathByName(java.lang.String name)
name
- pathName defined in the framework configpublic void clearPaths()
public java.lang.String toString()
toString
in class java.lang.Object
public static void prtln(java.lang.String s)
s
- Description of the Parameter