Sha256: d4a7b06162993f8442e7fccf1bf982a0bbe3fafba573a494a54c075e292aa0a2

Contents?: true

Size: 829 Bytes

Versions: 1

Compression:

Stored size: 829 Bytes

Contents

module Expressir
  module Model
    class Entity
      attr_accessor :id
      attr_accessor :abstract
      attr_accessor :abstract_supertype
      attr_accessor :supertypes
      attr_accessor :subtype_expression
      attr_accessor :explicit
      attr_accessor :derived
      attr_accessor :inverse
      attr_accessor :unique
      attr_accessor :where

      def initialize(options = {})
        @id = options[:id]
        @abstract = options[:abstract]
        @abstract_supertype = options[:abstract_supertype]
        @supertypes = options[:supertypes]
        @subtype_expression = options[:subtype_expression]
        @explicit = options[:explicit]
        @derived = options[:derived]
        @inverse = options[:inverse]
        @unique = options[:unique]
        @where = options[:where]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
expressir-0.2.0 lib/expressir/model/entity.rb