Class: Caliper::Entities::DigitalResource

Inherits:
EntityBase show all
Includes:
SchemaDotOrg::CreativeWork, Targetable
Defined in:
lib/caliper/entities/digital_resource.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

#initializeDigitalResource

Returns a new instance of DigitalResource.



35
36
37
38
39
40
41
42
43
44
# File 'lib/caliper/entities/digital_resource.rb', line 35

def initialize
  super
  @type = Caliper::Entities::EntityType::DIGITAL_RESOURCE
  @alignedLearningObjective = Array.new
  @objectType = Array.new
  @keywords = Array.new
  @datePublished = nil
  @isPartOf = nil
  @version = nil
end

Instance Attribute Details

#alignedLearningObjectiveObject

Returns the value of attribute alignedLearningObjective.



33
34
35
# File 'lib/caliper/entities/digital_resource.rb', line 33

def alignedLearningObjective
  @alignedLearningObjective
end

#datePublishedObject

Returns the value of attribute datePublished.



33
34
35
# File 'lib/caliper/entities/digital_resource.rb', line 33

def datePublished
  @datePublished
end

#isPartOfObject

Returns the value of attribute isPartOf.



33
34
35
# File 'lib/caliper/entities/digital_resource.rb', line 33

def isPartOf
  @isPartOf
end

#keywordsObject

Returns the value of attribute keywords.



33
34
35
# File 'lib/caliper/entities/digital_resource.rb', line 33

def keywords
  @keywords
end

#objectTypeObject

Returns the value of attribute objectType.



33
34
35
# File 'lib/caliper/entities/digital_resource.rb', line 33

def objectType
  @objectType
end

#versionObject

Returns the value of attribute version.



33
34
35
# File 'lib/caliper/entities/digital_resource.rb', line 33

def version
  @version
end