DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.vocab.integrity.frameworks
Class FieldFilesChecker

java.lang.Object
  extended by org.dlese.dpc.schemedit.vocab.integrity.frameworks.FieldFilesChecker

public class FieldFilesChecker
extends Object

Command line routine that checks fields files for well-formedness, and ensures that the xpaths associated with the field files exist within the given metadata framework.

Author:
ostwald


Nested Class Summary
 class FieldFilesChecker.FileError
          NOT YET DOCUMENTED
 
Field Summary
static int DUPLICATE_PATH
          NOT YET DOCUMENTED
static int DUPLICATE_VOCAB
          NOT YET DOCUMENTED
 String frameworkName
          NOT YET DOCUMENTED
static int ILLEGAL_PATH
          NOT YET DOCUMENTED
static int MISSING_PATH
          NOT YET DOCUMENTED
static int MISSING_VOCAB
          NOT YET DOCUMENTED
static int READER_ERROR
          NOT YET DOCUMENTED
 String version
          NOT YET DOCUMENTED
 
Constructor Summary
FieldFilesChecker(File frameworkDir, SchemaHelper schemaHelper)
          Constructor for the FieldFilesChecker object, for a given framework (e.g., adn/0.6.50).
 
Method Summary
static void setDebug(boolean d)
          Sets the debug attribute of the FieldFilesChecker class
static void setVerbose(boolean v)
          Sets the verbose attribute of the FieldFilesChecker class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frameworkName

public String frameworkName
NOT YET DOCUMENTED


version

public String version
NOT YET DOCUMENTED


READER_ERROR

public static final int READER_ERROR
NOT YET DOCUMENTED

See Also:
Constant Field Values

ILLEGAL_PATH

public static final int ILLEGAL_PATH
NOT YET DOCUMENTED

See Also:
Constant Field Values

MISSING_PATH

public static final int MISSING_PATH
NOT YET DOCUMENTED

See Also:
Constant Field Values

DUPLICATE_PATH

public static final int DUPLICATE_PATH
NOT YET DOCUMENTED

See Also:
Constant Field Values

MISSING_VOCAB

public static final int MISSING_VOCAB
NOT YET DOCUMENTED

See Also:
Constant Field Values

DUPLICATE_VOCAB

public static final int DUPLICATE_VOCAB
NOT YET DOCUMENTED

See Also:
Constant Field Values
Constructor Detail

FieldFilesChecker

public FieldFilesChecker(File frameworkDir,
                         SchemaHelper schemaHelper)
                  throws Exception
Constructor for the FieldFilesChecker object, for a given framework (e.g., adn/0.6.50). Checks fields files for constistency with schema.

Parameters:
frameworkDir - Path within framework project to a particular version of a particular framework
schemaHelper - SchemaHelper instance for the framework
Throws:
Exception - NOT YET DOCUMENTED
Method Detail

setVerbose

public static void setVerbose(boolean v)
Sets the verbose attribute of the FieldFilesChecker class

Parameters:
v - The new verbose value

setDebug

public static void setDebug(boolean d)
Sets the debug attribute of the FieldFilesChecker class

Parameters:
d - The new debug value

DLESE Tools
v1.6.0