equal
deleted
inserted
replaced
17 # with yams. If not, see <http://www.gnu.org/licenses/>. |
17 # with yams. If not, see <http://www.gnu.org/licenses/>. |
18 from yams.buildobjs import (EntityType, RelationType, RelationDefinition, |
18 from yams.buildobjs import (EntityType, RelationType, RelationDefinition, |
19 SubjectRelation, Int, String, Boolean) |
19 SubjectRelation, Int, String, Boolean) |
20 from yams.constraints import SizeConstraint, UniqueConstraint |
20 from yams.constraints import SizeConstraint, UniqueConstraint |
21 |
21 |
22 from __init__ import RESTRICTED_RTYPE_PERMS |
22 from . import RESTRICTED_RTYPE_PERMS |
23 |
23 |
24 class State(EntityType): |
24 class State(EntityType): |
25 """used to associate simple states to an entity |
25 """used to associate simple states to an entity |
26 type and/or to define workflows |
26 type and/or to define workflows |
27 """ |
27 """ |