Class: Caliper::Entities::Annotation::SharedAnnotation
- Inherits:
-
Annotation
- Object
- Entity
- EntityBase
- Annotation
- Caliper::Entities::Annotation::SharedAnnotation
- Defined in:
- lib/caliper/entities/annotation/shared_annotation.rb
Instance Attribute Summary collapse
-
#withAgents ⇒ Object
list of Agent objects.
Attributes inherited from Annotation
Attributes inherited from EntityBase
#dateCreated, #dateModified, #description, #extensions, #name
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ SharedAnnotation
constructor
A new instance of SharedAnnotation.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ SharedAnnotation
Returns a new instance of SharedAnnotation.
31 32 33 34 35 |
# File 'lib/caliper/entities/annotation/shared_annotation.rb', line 31 def initialize() super @type = Caliper::Entities::Annotation::AnnotationType::SHARED_ANNOTATION @withAgents = Array.new end |
Instance Attribute Details
#withAgents ⇒ Object
list of Agent objects
29 30 31 |
# File 'lib/caliper/entities/annotation/shared_annotation.rb', line 29 def withAgents @withAgents end |