Back to index

plone3  3.1.7
Classes | Functions | Variables
Archetypes.annotations Namespace Reference

Classes

class  ATAnnotations

Functions

def getAnnotation

Variables

string AT_ANN_STORAGE = 'Archetypes.storage.AnnotationStorage'
string AT_MD_STORAGE = 'Archetypes.storage.MetadataAnnotationStorage'
string AT_FIELD_MD = 'Archetypes.field.Metadata'
string AT_REF = 'Archetypes.referenceEngine.Reference'
tuple AT_ANN_KEYS = (AT_ANN_STORAGE, AT_MD_STORAGE, AT_FIELD_MD, AT_REF)

Function Documentation

Get an ATAnnotation object for obj

Definition at line 174 of file annotations.py.

00174 
00175 def getAnnotation(obj):
00176      """Get an ATAnnotation object for obj
00177      """
00178      return ATAnnotations(obj).__of__(obj)
00179 

Here is the caller graph for this function:


Variable Documentation

Definition at line 44 of file annotations.py.

string Archetypes.annotations.AT_ANN_STORAGE = 'Archetypes.storage.AnnotationStorage'

Definition at line 38 of file annotations.py.

string Archetypes.annotations.AT_FIELD_MD = 'Archetypes.field.Metadata'

Definition at line 40 of file annotations.py.

string Archetypes.annotations.AT_MD_STORAGE = 'Archetypes.storage.MetadataAnnotationStorage'

Definition at line 39 of file annotations.py.

string Archetypes.annotations.AT_REF = 'Archetypes.referenceEngine.Reference'

Definition at line 41 of file annotations.py.