| java.lang.Object | |
| ↳ | vars.knowledgebase.jpa.ConceptImpl | 
| 
  [Expand]
   Inherited Constants  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   From interface
vars.knowledgebase.Concept
 | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a child  
  
  Concept object to this Concept. | |||||||||||
Associates a  
  
  ConceptName to this Concept. | |||||||||||
Returns an array of the  
  
  Concept objects identified as
 immediately below this Concept in the KnowledgeBase
 hierarchy. | |||||||||||
This method should not be called directly by an application developer.  | |||||||||||
Gets the  
  
  ConceptName object of the specified String name. | |||||||||||
This method returns a defensive copy. 
  
   | |||||||||||
Gets the nodcCode attribute of the Concept object 
  
   | |||||||||||
Gets the String name of the originator of the placement of this  
  
  Concept in the Knowledge Base heirarchy. | |||||||||||
Gets the parentConcept  
  
  Concept of this Concept. | |||||||||||
Gets the unique  
  
  ConceptName object which represents the primary name of this Concept. | |||||||||||
Gets the rankLevel attribute of the Concept object 
  
   | |||||||||||
Gets the rankName attribute of the Concept object 
  
   | |||||||||||
Gets the reference attribute of the Concept object 
  
   | |||||||||||
Returns the root concept of this branch of concepts 
  
   | |||||||||||
Gets the structure type of this  
  
  Concept. | |||||||||||
WARNING! Due to lazy loading you will need to explicitly load the
 childconcepts in a JPA transaction first. 
  
   | |||||||||||
WARNING! Due to lazy loading you will need to explicitly load the
 childconcepts in a JPA transaction first. 
  
   | |||||||||||
Returns boolean whether this Concept  has details associated with
 it (it is more than just a ConceptName). 
  
   | |||||||||||
Indicates whether this  
  
  Concept has a parentConcept Concept
 in the hierarchy of the KnowledgeBase. | |||||||||||
This needs to be called inside of a JPA transaction in order to do anything
 
  
   | |||||||||||
Removes a child Concept  from this Concept . 
  
   | |||||||||||
Removes the specified ConceptName from this Concept . 
  
   | |||||||||||
Sets the nodcCode attribute of the Concept object 
  
   | |||||||||||
Sets the originator attribute of the Concept object 
  
   | |||||||||||
Sets the rankLevel attribute of the Concept object 
  
   | |||||||||||
Sets the rankName attribute of the Concept object 
  
   | |||||||||||
Sets the reference attribute of the Concept object 
  
   | |||||||||||
Sets the structureType attribute of the Concept object. 
  
   | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method shouldn't be called by developers. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
   
From interface
  vars.ILazy
 | |||||||||||
   
From interface
  vars.VARSObject
 | |||||||||||
   
From interface
  vars.jpa.JPAEntity
 | |||||||||||
   
From interface
  vars.knowledgebase.Concept
 | |||||||||||
Adds a child Concept object to this Concept.
| child | A Concept object identified as a child of this
 Concept in the KnowledgeBase
 hierarchy.
 | 
        
|---|
Associates a ConceptName to this Concept.
 If a ConceptName is primary and it's added to a concept that already has
 a primary conceptName, then the existing primary name is changed to type
 NAMETYPE_SYNONYM while the new one becomes the primary name.
| conceptName | A ConceptName to associate with this Concept. | 
        
|---|
Returns an array of the Concept objects identified as
 immediately below this Concept in the KnowledgeBase
 hierarchy.
Concept objects of this
 Concept.
This method should not be called directly by an application developer.
 In order to speed up database transactions most of the anxillary classes are now associated with a delegate rather than directly to a Concept. This delegate is lazy loaded using IDAO objects because castor does not support lazy loading. This should speed up transactions greatly. 
Gets the ConceptName object of the specified String name.
 Returns null if this Concept has no such
 associated ConceptName.
| name | Description of the Parameter | 
|---|
ConceptName object of the specified String
 name; null if this Concept has no
 such ConceptName.This method returns a defensive copy. Adds or removes will have no affect on the database. However, modifications to the objects can be persisted.
Gets the nodcCode attribute of the Concept object
Gets the String name of the originator of the placement of this Concept in the Knowledge Base heirarchy. (i.e The name of the person who entered this concept into the Knowledge Base)
Concept in the Knowledge Base heirarchy.
Gets the parentConcept Concept of this Concept. Concept objects at the root of the KnowledgeBase hierarchy do not have a parentConcept Concept.
Concept of this Concept.  null if no parent is found.
Gets the unique ConceptName object which represents the primary name of this Concept.
ConceptName object which represents  the primary name of this Concept.Gets the rankLevel attribute of the Concept object
Gets the rankName attribute of the Concept object
Gets the reference attribute of the Concept object
Returns the root concept of this branch of concepts
Gets the structure type of this Concept.
Concept.
WARNING! Due to lazy loading you will need to explicitly load the childconcepts in a JPA transaction first.
WARNING! Due to lazy loading you will need to explicitly load the childconcepts in a JPA transaction first.
| child | The String name to search for. This is compared against all ConceptNames that this concept and its descendents contain. | 
|---|
Returns boolean whether this Concept has details associated with it (it is more than just a ConceptName).
Indicates whether this Concept has a parentConcept Concept
 in the hierarchy of the KnowledgeBase.
true if this Concept has a
 parentConcept Concept in the hierarchy of the
 KnowledgeBase;false otherwise.
This needs to be called inside of a JPA transaction in order to do anything
Removes a child Concept from this Concept .
| childConcept | A Concept to remove from this Concept . | 
|---|
true if the child Concept is
 removed.Removes the specified ConceptName from this Concept .
| conceptName | The ConceptName to remove from this Concept . | 
|---|
true if successfully removed.Sets the nodcCode attribute of the Concept object
| nodcCode | The new nodcCode value | 
|---|
Sets the originator attribute of the Concept object
| originator | The new originator value | 
|---|
Sets the rankLevel attribute of the Concept object
| rankLevel | The new rankLevel value | 
|---|
Sets the rankName attribute of the Concept object
| rankName | The new rankName value | 
|---|
Sets the reference attribute of the Concept object
| reference | The new reference value | 
|---|
Sets the structureType attribute of the Concept object. Valid values are Concept.TAXONOMY, Concept>LITHOLOGY
| structureType | The new structureType value | 
|---|
This method shouldn't be called by developers. It's added to support the cascadeDelete method in the ConceptDAO