server/test/data-schema2sql/schema/State.py
changeset 10790 117a6bbefbfd
parent 10199 218c28bff695
equal deleted inserted replaced
10789:d5671a61f281 10790:117a6bbefbfd
    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     """