Class: Caliper::Entities::Agent::Organization
- Inherits:
-
EntityBase
- Object
- Entity
- EntityBase
- Caliper::Entities::Agent::Organization
- Includes:
- FOAF::Agent, W3C::Organization
- Defined in:
- lib/caliper/entities/agent/organization.rb
Instance Attribute Summary collapse
-
#subOrganizationOf ⇒ Object
Returns the value of attribute subOrganizationOf.
Attributes inherited from EntityBase
#dateCreated, #dateModified, #description, #extensions, #name
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ Organization
constructor
A new instance of Organization.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ Organization
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
#subOrganizationOf ⇒ Object
Returns the value of attribute subOrganizationOf.
32 33 34 |
# File 'lib/caliper/entities/agent/organization.rb', line 32 def subOrganizationOf @subOrganizationOf end |