Class: Caliper::Entities::Agent::Organization

Inherits:
EntityBase show all
Includes:
FOAF::Agent, W3C::Organization
Defined in:
lib/caliper/entities/agent/organization.rb

Instance Attribute Summary collapse

Attributes inherited from EntityBase

#dateCreated, #dateModified, #description, #extensions, #name

Attributes inherited from Entity

#context, #id, #type

Instance Method Summary collapse

Methods included from Jsonable

#eql?, #from_json, included, #to_json

Constructor Details

#initializeOrganization

Returns a new instance of Organization.



34
35
36
37
# File 'lib/caliper/entities/agent/organization.rb', line 34

def initialize
  super
  @type = Caliper::Entities::EntityType::ORGANIZATION
end

Instance Attribute Details

#subOrganizationOfObject

Returns the value of attribute subOrganizationOf.



32
33
34
# File 'lib/caliper/entities/agent/organization.rb', line 32

def subOrganizationOf
  @subOrganizationOf
end