| Operations |
| Signature | Constraints | Documentation |
concept_name(a_lang : String)
:
String | | The concept name of the archetype in language.
a_lang; corresponds to the term definition of the concept_code attribute in the archetype tology. |
constraint_references_valid()
:
Boolean | | True if every CONSTRAINT_REF.reference found on a C_OBJECT node in the archetype definition is found in ontology. constraint_codes. |
internal_references_valid()
:
Boolean | | True if every ARCHETYPE_INTERNAL_REF. target_path refers to a legitimate node in the archetype definition. |
is_specialised()
:
Boolean | | True if this archetype is a specialisation of another. |
is_valid()
:
Boolean | | True if the archetype is valid overall; various tests should be used, including checks on node_ids, internal references, and constraint references. |
logical_paths(a_lang : String)
:
Set<String> | | Set of language-dependent paths extracted from archetype. Paths obey the same syntax as physical_paths, but with node_ids replaced by their meanings from the ontology. |
node_ids_valid()
:
Boolean | | True if every node_id found on a C_OBJECT node is found in ontology.term_codes. |
physical_paths()
:
Set<String> | | Set of language-independent paths extracted from archetype. Paths obey Xpath-like syntax and are formed from alternations of C_OBJECT.node_id and C_ATTRIBUTE.rm_attribute_name values. |
previous_version()
:
String | | Version of predecessor archetype of this archetype,
if any. |
short_concept_name()
:
String | | The short concept name of the archetype extracted from the archetype_id. |
specialisation_depth()
:
Integer | | Specialisation depth of this archetype; larger than 0 if this archetype has a parent.
Derived from ontology.specialisation_depth. |
version()
:
String | | Version of this archetype, extracted from id. |