equal
deleted
inserted
replaced
7 """ |
7 """ |
8 __docformat__ = "restructuredtext en" |
8 __docformat__ = "restructuredtext en" |
9 _ = unicode |
9 _ = unicode |
10 |
10 |
11 from yams.buildobjs import (EntityType, RelationType, SubjectRelation, |
11 from yams.buildobjs import (EntityType, RelationType, SubjectRelation, |
12 ObjectRelation, String) |
12 ObjectRelation, RichString, String) |
13 from cubicweb.schema import RichString, RQLConstraint |
13 from cubicweb.schema import RQLConstraint |
14 from cubicweb.schemas import META_ETYPE_PERMS, META_RTYPE_PERMS |
14 from cubicweb.schemas import META_ETYPE_PERMS, META_RTYPE_PERMS |
15 |
15 |
16 class State(EntityType): |
16 class State(EntityType): |
17 """used to associate simple states to an entity type and/or to define |
17 """used to associate simple states to an entity type and/or to define |
18 workflows |
18 workflows |