org.LexGrid.LexBIG.Preferences.loader.OWLLoadPreferences
Class OWLLoaderPreferences

java.lang.Object
  extended by org.LexGrid.LexBIG.Preferences.loader.LoadPreferences.LoaderPreferences
      extended by org.LexGrid.LexBIG.Preferences.loader.OWLLoadPreferences.OWLLoaderPreferences
All Implemented Interfaces:
java.io.Serializable

public class OWLLoaderPreferences
extends LoaderPreferences
implements java.io.Serializable

Class OWLLoaderPreferences.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
OWLLoaderPreferences()
           
 
Method Summary
 java.lang.Boolean getCreateConceptForObjectProp()
          Returns the value of field 'createConceptForObjectProp'.
 java.lang.String getDatatypePropSwitch()
          Returns the value of field 'datatypePropSwitch'.
 java.lang.Boolean getIsDBXrefRepform()
          Returns the value of field 'isDBXrefRepform'.
 java.lang.Boolean getIsDBXrefSource()
          Returns the value of field 'isDBXrefSource'.
 java.lang.String getMatchConceptCode()
          Returns the value of field 'matchConceptCode'.
 java.lang.String getMatchConceptStatus()
          Returns the value of field 'matchConceptStatus'.
 java.lang.String getMatchNoopNamespaces()
          Returns the value of field 'matchNoopNamespaces'.
 java.lang.String getMatchRootName()
          Returns the value of field 'matchRootName'.
 java.lang.String getMatchXMLRepformNames()
          Returns the value of field 'matchXMLRepformNames'.
 java.lang.String getMatchXMLSourceNames()
          Returns the value of field 'matchXMLSourceNames'.
 java.lang.String getMatchXMLTextNames()
          Returns the value of field 'matchXMLTextNames'.
 PrioritizedCommentNames getPrioritizedCommentNames()
          Returns the value of field 'prioritizedCommentNames'.
 PrioritizedDefinitionNames getPrioritizedDefinitionNames()
          Returns the value of field 'prioritizedDefinitionNames'.
 PrioritizedPresentationNames getPrioritizedPresentationNames()
          Returns the value of field 'prioritizedPresentationNames'.
 java.lang.Boolean getProcessComplexProps()
          Returns the value of field 'processComplexProps'.
 java.lang.String getPropnamePrimitive()
          Returns the value of field 'propnamePrimitive'.
 java.lang.String getPropnameType()
          Returns the value of field 'propnameType'.
 java.lang.Boolean getStrictOWLImplementation()
          Returns the value of field 'strictOWLImplementation'.
 java.lang.Boolean isCreateConceptForObjectProp()
          Returns the value of field 'createConceptForObjectProp'.
 java.lang.Boolean isIsDBXrefRepform()
          Returns the value of field 'isDBXrefRepform'.
 java.lang.Boolean isIsDBXrefSource()
          Returns the value of field 'isDBXrefSource'.
 java.lang.Boolean isProcessComplexProps()
          Returns the value of field 'processComplexProps'.
 java.lang.Boolean isStrictOWLImplementation()
          Returns the value of field 'strictOWLImplementation'.
 void setCreateConceptForObjectProp(java.lang.Boolean createConceptForObjectProp)
          Sets the value of field 'createConceptForObjectProp'.
 void setDatatypePropSwitch(java.lang.String datatypePropSwitch)
          Sets the value of field 'datatypePropSwitch'.
 void setIsDBXrefRepform(java.lang.Boolean isDBXrefRepform)
          Sets the value of field 'isDBXrefRepform'.
 void setIsDBXrefSource(java.lang.Boolean isDBXrefSource)
          Sets the value of field 'isDBXrefSource'.
 void setMatchConceptCode(java.lang.String matchConceptCode)
          Sets the value of field 'matchConceptCode'.
 void setMatchConceptStatus(java.lang.String matchConceptStatus)
          Sets the value of field 'matchConceptStatus'.
 void setMatchNoopNamespaces(java.lang.String matchNoopNamespaces)
          Sets the value of field 'matchNoopNamespaces'.
 void setMatchRootName(java.lang.String matchRootName)
          Sets the value of field 'matchRootName'.
 void setMatchXMLRepformNames(java.lang.String matchXMLRepformNames)
          Sets the value of field 'matchXMLRepformNames'.
 void setMatchXMLSourceNames(java.lang.String matchXMLSourceNames)
          Sets the value of field 'matchXMLSourceNames'.
 void setMatchXMLTextNames(java.lang.String matchXMLTextNames)
          Sets the value of field 'matchXMLTextNames'.
 void setPrioritizedCommentNames(PrioritizedCommentNames prioritizedCommentNames)
          Sets the value of field 'prioritizedCommentNames'.
 void setPrioritizedDefinitionNames(PrioritizedDefinitionNames prioritizedDefinitionNames)
          Sets the value of field 'prioritizedDefinitionNames'.
 void setPrioritizedPresentationNames(PrioritizedPresentationNames prioritizedPresentationNames)
          Sets the value of field 'prioritizedPresentationNames'.
 void setProcessComplexProps(java.lang.Boolean processComplexProps)
          Sets the value of field 'processComplexProps'.
 void setPropnamePrimitive(java.lang.String propnamePrimitive)
          Sets the value of field 'propnamePrimitive'.
 void setPropnameType(java.lang.String propnameType)
          Sets the value of field 'propnameType'.
 void setStrictOWLImplementation(java.lang.Boolean strictOWLImplementation)
          Sets the value of field 'strictOWLImplementation'.
 
Methods inherited from class org.LexGrid.LexBIG.Preferences.loader.LoadPreferences.LoaderPreferences
getXMLMetadataFilePath, setXMLMetadataFilePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLLoaderPreferences

public OWLLoaderPreferences()
Method Detail

getCreateConceptForObjectProp

public java.lang.Boolean getCreateConceptForObjectProp()
Returns the value of field 'createConceptForObjectProp'. The field 'createConceptForObjectProp' has the following description: Controls whether concept entities are created for object properties defined in the OWL source. The default is false.

Returns:
the value of field 'CreateConceptForObjectProp'.

getDatatypePropSwitch

public java.lang.String getDatatypePropSwitch()
Returns the value of field 'datatypePropSwitch'. The field 'datatypePropSwitch' has the following description: Controls how data type properties are converted to components of the LexGrid model. If 'association' is specified, each data type property is recorded in LexGrid as an entity-to-entity relationship. If 'conceptProperty' is specified, traditional LexGrid properties are created and assigned directly to new entities . If 'both' is specified, both entity relationships and standard LexGrid entity properties are generated. The default is 'both'.

Returns:
the value of field 'DatatypePropSwitch'.

getIsDBXrefRepform

public java.lang.Boolean getIsDBXrefRepform()
Returns the value of field 'isDBXrefRepform'. The field 'isDBXrefRepform' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference) and source, this preference allows for identification of representational form cross reference information in xml element text. If not specified, the default of 'false' is assumed.

Returns:
the value of field 'IsDBXrefRepform'.

getIsDBXrefSource

public java.lang.Boolean getIsDBXrefSource()
Returns the value of field 'isDBXrefSource'. The field 'isDBXrefSource' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference) and source, this preference allows for identification of ISBN cross reference information in xml element text. If not specified, the default of 'false' is assumed.

Returns:
the value of field 'IsDBXrefSource'.

getMatchConceptCode

public java.lang.String getMatchConceptCode()
Returns the value of field 'matchConceptCode'. The field 'matchConceptCode' has the following description: This preference allows for entity codes to be derived from a specific RDF property. The provided string is interpreted as a regular expression to be compared against properties assigned to each processed class. If a property name matches the regular expression, the property value is assigned as the entity code. If not specified no default match is assumed, and the entity code is derived from the RDF resource name.

Returns:
the value of field 'MatchConceptCode'.

getMatchConceptStatus

public java.lang.String getMatchConceptStatus()
Returns the value of field 'matchConceptStatus'. The field 'matchConceptStatus' has the following description: This preference allows for entity status to be derived from a specific RDF property. The provided string is interpreted as a regular expression to be compared against properties assigned to each processed class. If a property name matches the regular expression, the property value is assigned as the entity status. If not specified, the regular expression of ('concept_status') is assumed, and if not matched no status string is assigned (the isActive boolean flag will still be set based on deprecation).

Returns:
the value of field 'MatchConceptStatus'.

getMatchNoopNamespaces

public java.lang.String getMatchNoopNamespaces()
Returns the value of field 'matchNoopNamespaces'. The field 'matchNoopNamespaces' has the following description: This preference allows for classes to be selectively ignored on import to LexGrid. The provided string is interpreted as a regular expression to be compared against class namespace. If matched, a counterpart entity is not created in the LexGrid coding scheme. If not provided, the expression '(:|@_:|protege:|xsp:).' is assumed.

Returns:
the value of field 'MatchNoopNamespaces'.

getMatchRootName

public java.lang.String getMatchRootName()
Returns the value of field 'matchRootName'. The field 'matchRootName' has the following description: This preference allows for custom declaration of root concepts for hierarchical relationships. The provided string is interpreted as a regular expression to be compared against the resource name for each class. If matched, the node is designated as a root in the supported hierarchy metadata. If not specified, root nodes are identified by having a superclass of owl:thing.

Returns:
the value of field 'MatchRootName'.

getMatchXMLRepformNames

public java.lang.String getMatchXMLRepformNames()
Returns the value of field 'matchXMLRepformNames'. The field 'matchXMLRepformNames' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference), this preference allows for identification of representational form names contained by XML fragments embedded within rdf property text. The provided string is interpreted as a regular expression and compared against the XML tags in each fragment. If not specified, the default expression '(term-group)' is assumed.

Returns:
the value of field 'MatchXMLRepformNames'.

getMatchXMLSourceNames

public java.lang.String getMatchXMLSourceNames()
Returns the value of field 'matchXMLSourceNames'. The field 'matchXMLSourceNames' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference), this preference allows for identification of source names contained by XML fragments embedded within rdf property text. The provided string is interpreted as a regular expression and compared against the XML tags in each fragment. If not specified, the default expression '(term-source|def-source)' is assumed.

Returns:
the value of field 'MatchXMLSourceNames'.

getMatchXMLTextNames

public java.lang.String getMatchXMLTextNames()
Returns the value of field 'matchXMLTextNames'. The field 'matchXMLTextNames' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference), this preference allows for identification of descriptive text contained by XML fragments embedded within rdf property text. The provided string is interpreted as a regular expression and compared against the XML tags in each fragment. If not specified, the default expression '(term-name|def-definition|go-term)' is assumed.

Returns:
the value of field 'MatchXMLTextNames'.

getPrioritizedCommentNames

public PrioritizedCommentNames getPrioritizedCommentNames()
Returns the value of field 'prioritizedCommentNames'.

Returns:
the value of field 'PrioritizedCommentNames'.

getPrioritizedDefinitionNames

public PrioritizedDefinitionNames getPrioritizedDefinitionNames()
Returns the value of field 'prioritizedDefinitionNames'.

Returns:
the value of field 'PrioritizedDefinitionNames'.

getPrioritizedPresentationNames

public PrioritizedPresentationNames getPrioritizedPresentationNames()
Returns the value of field 'prioritizedPresentationNames'.

Returns:
the value of field 'PrioritizedPresentationNames'.

getProcessComplexProps

public java.lang.Boolean getProcessComplexProps()
Returns the value of field 'processComplexProps'. The field 'processComplexProps' has the following description: Indicates whether rdf property text will be evaluated to detect and process embedded XML. This is a master switch controlling whether the MatchXML and isDBXRef preferences are acknowledged. The default is false.

Returns:
the value of field 'ProcessComplexProps'.

getPropnamePrimitive

public java.lang.String getPropnamePrimitive()
Returns the value of field 'propnamePrimitive'. The field 'propnamePrimitive' has the following description: Entities can be assigned a property that indicates whether or not it is considered primitive (having no equivalent classes). This preference controls the name of the property that is created; the property value will indicate true or false. If not specified, the name 'primitive' is assumed.

Returns:
the value of field 'PropnamePrimitive'.

getPropnameType

public java.lang.String getPropnameType()
Returns the value of field 'propnameType'. The field 'propnameType' has the following description: Anonymous OWL classes of type OWLNAryLogicalClass can be assigned properties that indicate the nature or type of component logical operations. This preference controls the name of the property that is created; the property value will indicate the logical operation (e.g. owl:oneOf). If not specified, the name 'type' is assumed.

Returns:
the value of field 'PropnameType'.

getStrictOWLImplementation

public java.lang.Boolean getStrictOWLImplementation()
Returns the value of field 'strictOWLImplementation'. The field 'strictOWLImplementation' has the following description: Controls the relationship between restrictions of anonymous classes and parent concepts. If true, restrictions for anonymous classes are not connected to the parent concepts. The default is true.

Returns:
the value of field 'StrictOWLImplementation'.

isCreateConceptForObjectProp

public java.lang.Boolean isCreateConceptForObjectProp()
Returns the value of field 'createConceptForObjectProp'. The field 'createConceptForObjectProp' has the following description: Controls whether concept entities are created for object properties defined in the OWL source. The default is false.

Returns:
the value of field 'CreateConceptForObjectProp'.

isIsDBXrefRepform

public java.lang.Boolean isIsDBXrefRepform()
Returns the value of field 'isDBXrefRepform'. The field 'isDBXrefRepform' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference) and source, this preference allows for identification of representational form cross reference information in xml element text. If not specified, the default of 'false' is assumed.

Returns:
the value of field 'IsDBXrefRepform'.

isIsDBXrefSource

public java.lang.Boolean isIsDBXrefSource()
Returns the value of field 'isDBXrefSource'. The field 'isDBXrefSource' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference) and source, this preference allows for identification of ISBN cross reference information in xml element text. If not specified, the default of 'false' is assumed.

Returns:
the value of field 'IsDBXrefSource'.

isProcessComplexProps

public java.lang.Boolean isProcessComplexProps()
Returns the value of field 'processComplexProps'. The field 'processComplexProps' has the following description: Indicates whether rdf property text will be evaluated to detect and process embedded XML. This is a master switch controlling whether the MatchXML and isDBXRef preferences are acknowledged. The default is false.

Returns:
the value of field 'ProcessComplexProps'.

isStrictOWLImplementation

public java.lang.Boolean isStrictOWLImplementation()
Returns the value of field 'strictOWLImplementation'. The field 'strictOWLImplementation' has the following description: Controls the relationship between restrictions of anonymous classes and parent concepts. If true, restrictions for anonymous classes are not connected to the parent concepts. The default is true.

Returns:
the value of field 'StrictOWLImplementation'.

setCreateConceptForObjectProp

public void setCreateConceptForObjectProp(java.lang.Boolean createConceptForObjectProp)
Sets the value of field 'createConceptForObjectProp'. The field 'createConceptForObjectProp' has the following description: Controls whether concept entities are created for object properties defined in the OWL source. The default is false.

Parameters:
createConceptForObjectProp - the value of field 'createConceptForObjectProp'.

setDatatypePropSwitch

public void setDatatypePropSwitch(java.lang.String datatypePropSwitch)
Sets the value of field 'datatypePropSwitch'. The field 'datatypePropSwitch' has the following description: Controls how data type properties are converted to components of the LexGrid model. If 'association' is specified, each data type property is recorded in LexGrid as an entity-to-entity relationship. If 'conceptProperty' is specified, traditional LexGrid properties are created and assigned directly to new entities . If 'both' is specified, both entity relationships and standard LexGrid entity properties are generated. The default is 'both'.

Parameters:
datatypePropSwitch - the value of field 'datatypePropSwitch'.

setIsDBXrefRepform

public void setIsDBXrefRepform(java.lang.Boolean isDBXrefRepform)
Sets the value of field 'isDBXrefRepform'. The field 'isDBXrefRepform' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference) and source, this preference allows for identification of representational form cross reference information in xml element text. If not specified, the default of 'false' is assumed.

Parameters:
isDBXrefRepform - the value of field 'isDBXrefRepform'.

setIsDBXrefSource

public void setIsDBXrefSource(java.lang.Boolean isDBXrefSource)
Sets the value of field 'isDBXrefSource'. The field 'isDBXrefSource' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference) and source, this preference allows for identification of ISBN cross reference information in xml element text. If not specified, the default of 'false' is assumed.

Parameters:
isDBXrefSource - the value of field 'isDBXrefSource'.

setMatchConceptCode

public void setMatchConceptCode(java.lang.String matchConceptCode)
Sets the value of field 'matchConceptCode'. The field 'matchConceptCode' has the following description: This preference allows for entity codes to be derived from a specific RDF property. The provided string is interpreted as a regular expression to be compared against properties assigned to each processed class. If a property name matches the regular expression, the property value is assigned as the entity code. If not specified no default match is assumed, and the entity code is derived from the RDF resource name.

Parameters:
matchConceptCode - the value of field 'matchConceptCode'

setMatchConceptStatus

public void setMatchConceptStatus(java.lang.String matchConceptStatus)
Sets the value of field 'matchConceptStatus'. The field 'matchConceptStatus' has the following description: This preference allows for entity status to be derived from a specific RDF property. The provided string is interpreted as a regular expression to be compared against properties assigned to each processed class. If a property name matches the regular expression, the property value is assigned as the entity status. If not specified, the regular expression of ('concept_status') is assumed, and if not matched no status string is assigned (the isActive boolean flag will still be set based on deprecation).

Parameters:
matchConceptStatus - the value of field 'matchConceptStatus'.

setMatchNoopNamespaces

public void setMatchNoopNamespaces(java.lang.String matchNoopNamespaces)
Sets the value of field 'matchNoopNamespaces'. The field 'matchNoopNamespaces' has the following description: This preference allows for classes to be selectively ignored on import to LexGrid. The provided string is interpreted as a regular expression to be compared against class namespace. If matched, a counterpart entity is not created in the LexGrid coding scheme. If not provided, the expression '(:|@_:|protege:|xsp:).' is assumed.

Parameters:
matchNoopNamespaces - the value of field 'matchNoopNamespaces'.

setMatchRootName

public void setMatchRootName(java.lang.String matchRootName)
Sets the value of field 'matchRootName'. The field 'matchRootName' has the following description: This preference allows for custom declaration of root concepts for hierarchical relationships. The provided string is interpreted as a regular expression to be compared against the resource name for each class. If matched, the node is designated as a root in the supported hierarchy metadata. If not specified, root nodes are identified by having a superclass of owl:thing.

Parameters:
matchRootName - the value of field 'matchRootName'.

setMatchXMLRepformNames

public void setMatchXMLRepformNames(java.lang.String matchXMLRepformNames)
Sets the value of field 'matchXMLRepformNames'. The field 'matchXMLRepformNames' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference), this preference allows for identification of representational form names contained by XML fragments embedded within rdf property text. The provided string is interpreted as a regular expression and compared against the XML tags in each fragment. If not specified, the default expression '(term-group)' is assumed.

Parameters:
matchXMLRepformNames - the value of field 'matchXMLRepformNames'.

setMatchXMLSourceNames

public void setMatchXMLSourceNames(java.lang.String matchXMLSourceNames)
Sets the value of field 'matchXMLSourceNames'. The field 'matchXMLSourceNames' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference), this preference allows for identification of source names contained by XML fragments embedded within rdf property text. The provided string is interpreted as a regular expression and compared against the XML tags in each fragment. If not specified, the default expression '(term-source|def-source)' is assumed.

Parameters:
matchXMLSourceNames - the value of field 'matchXMLSourceNames'.

setMatchXMLTextNames

public void setMatchXMLTextNames(java.lang.String matchXMLTextNames)
Sets the value of field 'matchXMLTextNames'. The field 'matchXMLTextNames' has the following description: If processing of complex properties is enabled (see ProcessComplexProps preference), this preference allows for identification of descriptive text contained by XML fragments embedded within rdf property text. The provided string is interpreted as a regular expression and compared against the XML tags in each fragment. If not specified, the default expression '(term-name|def-definition|go-term)' is assumed.

Parameters:
matchXMLTextNames - the value of field 'matchXMLTextNames'.

setPrioritizedCommentNames

public void setPrioritizedCommentNames(PrioritizedCommentNames prioritizedCommentNames)
Sets the value of field 'prioritizedCommentNames'.

Parameters:
prioritizedCommentNames - the value of field 'prioritizedCommentNames'.

setPrioritizedDefinitionNames

public void setPrioritizedDefinitionNames(PrioritizedDefinitionNames prioritizedDefinitionNames)
Sets the value of field 'prioritizedDefinitionNames'.

Parameters:
prioritizedDefinitionNames - the value of field 'prioritizedDefinitionNames'.

setPrioritizedPresentationNames

public void setPrioritizedPresentationNames(PrioritizedPresentationNames prioritizedPresentationNames)
Sets the value of field 'prioritizedPresentationNames'.

Parameters:
prioritizedPresentationNames - the value of field 'prioritizedPresentationNames'.

setProcessComplexProps

public void setProcessComplexProps(java.lang.Boolean processComplexProps)
Sets the value of field 'processComplexProps'. The field 'processComplexProps' has the following description: Indicates whether rdf property text will be evaluated to detect and process embedded XML. This is a master switch controlling whether the MatchXML and isDBXRef preferences are acknowledged. The default is false.

Parameters:
processComplexProps - the value of field 'processComplexProps'.

setPropnamePrimitive

public void setPropnamePrimitive(java.lang.String propnamePrimitive)
Sets the value of field 'propnamePrimitive'. The field 'propnamePrimitive' has the following description: Entities can be assigned a property that indicates whether or not it is considered primitive (having no equivalent classes). This preference controls the name of the property that is created; the property value will indicate true or false. If not specified, the name 'primitive' is assumed.

Parameters:
propnamePrimitive - the value of field 'propnamePrimitive'.

setPropnameType

public void setPropnameType(java.lang.String propnameType)
Sets the value of field 'propnameType'. The field 'propnameType' has the following description: Anonymous OWL classes of type OWLNAryLogicalClass can be assigned properties that indicate the nature or type of component logical operations. This preference controls the name of the property that is created; the property value will indicate the logical operation (e.g. owl:oneOf). If not specified, the name 'type' is assumed.

Parameters:
propnameType - the value of field 'propnameType'.

setStrictOWLImplementation

public void setStrictOWLImplementation(java.lang.Boolean strictOWLImplementation)
Sets the value of field 'strictOWLImplementation'. The field 'strictOWLImplementation' has the following description: Controls the relationship between restrictions of anonymous classes and parent concepts. If true, restrictions for anonymous classes are not connected to the parent concepts. The default is true.

Parameters:
strictOWLImplementation - the value of field 'strictOWLImplementation'.

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.