Class: Caliper::Entities::Annotation::Annotation

Inherits:
EntityBase show all
Includes:
Generatable
Defined in:
lib/caliper/entities/annotation/annotation.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

#initializeAnnotation

Returns a new instance of Annotation.



33
34
35
36
37
# File 'lib/caliper/entities/annotation/annotation.rb', line 33

def initialize
	super
	@type = Caliper::Entities::EntityType::ANNOTATION
	@annotated = nil
end

Instance Attribute Details

#annotatedObject

Returns the value of attribute annotated.



31
32
33
# File 'lib/caliper/entities/annotation/annotation.rb', line 31

def annotated
  @annotated
end