Tripal
|
Public Member Functions | |
__construct ($entityType, $fieldType, $key, $term_id) | |
getEntityType () | |
getFieldType () | |
getKey () | |
getTermIdSpace () | |
getTermAccession () | |
getTerm () | |
Protected Attributes | |
$idSpaceService | |
Base class for a Tripal storage property type or value.
Drupal\tripal\TripalStorage\StoragePropertyBase::__construct | ( | $entityType, | |
$fieldType, | |||
$key, | |||
$term_id | |||
) |
Constructs a new Tripal storage property base object.
string | entityType The entity type associated with this storage property base object. |
string | fieldType The field type associated with this storage property base object. |
string | key The key associated with this storage property base object. |
string | term_id The controlled vocabulary term asssociated with this property. It must be in the form of "IdSpace:Accession" (e.g. "rdfs:label" or "OBI:0100026") |
Drupal\tripal\TripalStorage\StoragePropertyBase::getEntityType | ( | ) |
Returns the entity type associated with this storage property base object.
Drupal\tripal\TripalStorage\StoragePropertyBase::getFieldType | ( | ) |
Returns the field type associated with this storage property base object.
Drupal\tripal\TripalStorage\StoragePropertyBase::getKey | ( | ) |
Returns the key associated with this storage property base object.
Drupal\tripal\TripalStorage\StoragePropertyBase::getTerm | ( | ) |
Gets the CV Term Object associated with this storage property.
Drupal\tripal\TripalStorage\StoragePropertyBase::getTermAccession | ( | ) |
Returns the accession of the term for this storage property.
Drupal\tripal\TripalStorage\StoragePropertyBase::getTermIdSpace | ( | ) |
Returns the name of the ID space of the term for this storage property.