oshippy-dev team mailing list archive
-
oshippy-dev team
-
Mailing list archive
-
Message #00156
[Bug 488888] [NEW] Archetype class needs all methods implemented.
You have been subscribed to a public bug:
The current state is:
def version(self):
"""
Version string extracted from id.
"""
return u"version id"
def previousVersion(self):
"""
Version of predecessor if any.
"""
return u"previous version id"
def shortConceptName(self):
"""
String extracted from id.
"""
return "Short Concept name"
def conceptName(self, language=None):
"""
Concept string extracted from the ontology.
"""
return u"concept name"
def physicalPaths():
"""
Set of Xpath like statements extracted from
CObject.nodeId and CAttribute.rmAttributeName
"""
return u"Some XPath"
def logicalPaths():
"""
Set of Xpath like statements extracted from
CObject.nodeId and CAttribute.rmAttributeName
except the nodeIds are replaced by their meanings from the ontology.
"""
return u"Some XPath"
def isSpecialised(self):
"""
True if this archetype is a specialisation of another.
Otherwise it returns False.
"""
return False
def specialisationDepth():
"""
Return ontology.specialisationDepth
"""
return self.ontology.specialisationDepth
def nodeIdsValid():
"""
Return True if every CObject.nodeId is found
in the ontolgy.termCodes
"""
return True
def internalReferencesValid():
"""
True if every ArchetypeInternalRef.targetPath
refers to a legitimate node in the archetype definition.
"""
return True
def constraintReferencesValid():
"""
True if every ConstraintRef.reference found in CObject nodes
definition is found in ontology.constraintCodes
"""
return True
def isValid():
"""
Return True if the archetype is overall valid.
"""
return True
** Affects: oshippy
Importance: Critical
Assignee: Tim Cook (timothywayne-cook)
Status: Fix Released
--
Archetype class needs all methods implemented.
https://bugs.launchpad.net/bugs/488888
You received this bug notification because you are a member of OSHIPpy Developers, which is subscribed to OSHIPpy.