|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.schemedit.config.SchemaPath
public class SchemaPath
Provides information about a schema element that is not expressed in the XML Schema, but that is helpful in displaying and editing documents within a framework.
For example, a SchemaPath provides information when a new metadata record is created or copied, such as which elements should be blanked out, which are required by the Indexer, and which should be displayed as read-only fields in the metadata editor.
SchemaPath instances are created by the FrameworkConfigReader as it reads the
configuration file for a particular framework. These SchemaPath instances
are stored in a SchemaPathMap
structure, which is used mainly by the MetaDataFramework class.
| Field Summary | |
|---|---|
String |
defaultValue
An optional default for this element |
String |
initialFieldCollapse
|
String |
inputHelper
|
int |
maxLen
|
String |
pathName
A short name (such as "url") that can be used to access the instance by name. |
boolean |
readOnly
Is this element required (by the indexer) to be present in all records? |
boolean |
requiredByCopyRecord
Description of the Field |
boolean |
requiredByMinimalRecord
Is this element required by the copyRecord |
String |
valueType
A String used to (somewhat informally) describe the type of the element |
String |
xpath
The xpath in the Schema to which this SchemaPath instance refers. |
| Constructor Summary | |
|---|---|
SchemaPath(Element e)
Constructor for the SchemaPath object |
|
SchemaPath(String pathName,
String xpath,
String defaultValue,
String valueType,
String inputHelper,
String initialFieldCollapse,
boolean requiredByCopyRecord,
boolean readOnly,
boolean requiredByMinimalRecord)
Constructor for the SchemaPath object |
|
| Method Summary | |
|---|---|
String |
toString()
Description of the Method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String pathName
public String xpath
public String defaultValue
public String valueType
public String inputHelper
public String initialFieldCollapse
public int maxLen
public boolean requiredByCopyRecord
public boolean requiredByMinimalRecord
public boolean readOnly
| Constructor Detail |
|---|
public SchemaPath(String pathName,
String xpath,
String defaultValue,
String valueType,
String inputHelper,
String initialFieldCollapse,
boolean requiredByCopyRecord,
boolean readOnly,
boolean requiredByMinimalRecord)
pathName - Description of the Parameterxpath - Description of the ParameterdefaultValue - Description of the ParametervalueType - Description of the ParameterrequiredByCopyRecord - Description of the ParameterreadOnly - Description of the ParameterrequiredByMinimalRecord - Description of the Parameterpublic SchemaPath(Element e)
e - Description of the Parameter| Method Detail |
|---|
public String toString()
toString in class Object
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||