# Class: Comment

## tibco.objectapi.ec.base.Comment

#### new Comment()

A type representing a Comment. . Constructs a new Comment.

The following features are supported:

- `Parent Comment Id`
- `Reference`

### Extends

- tibco.objectapi.ec.base.BaseComment

### Members

#### attribute :Array.<tibco.objectapi.ec.base.Attribute>

This property holds the value of the 'Attribute' containment reference list.

##### Type:

- Array.<tibco.objectapi.ec.base.Attribute>

Inherited From:
  - tibco.objectapi.ec.base.BaseComment#attribute

#### message :string

This property holds the value of the 'Message' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.ec.base.BaseComment#message

#### parentCommentId :string

If this comment is a reply to an earlier comment, parentCommentId is the id of the comment being replied to. Producing a hierarchy of comments This property holds the value of the 'Parent Comment Id' attribute.

##### Type:

- string

#### reference :tibco.objectapi.ec.base.CommentReference

This property holds the value of the 'Reference' containment reference.

##### Type:

- tibco.objectapi.ec.base.CommentReference