public class CommentSource extends Object
Element of SSReply
Sub-Element is Comment
Example:
<Comment Source> <Author cls="U">Barry Commenter</Author > <Date cls="U">2014-01-01</Date > <JobTitle cls="U">Big Kahuna</JobTitle > <Source cls=āUā>NTIA Redbook page 235</Source> <Comment cls="U" idx="1">Assignments will be granted on case-by-case basis.</Comment> </Comment Source>
Constructor and Description |
---|
CommentSource() |
Modifier and Type | Method and Description |
---|---|
S100 |
getAuthor()
Get the title (e.g., Ms., Dr.) and name of the individual that is the
source of the comment..
|
Set<Comment> |
getComment()
Get the Comment
|
D |
getDate()
Get the date the comment was provided..
|
S100 |
getJobTitle()
Get the title or position of the comment author..
|
S100 |
getSource()
Get the name of the organisation or authority that is the source of the
comment.
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetAuthor()
Determine if the Author is configured.
|
boolean |
isSetComment()
Determine if the Comment is configured.
|
boolean |
isSetDate()
Determine if the Date is configured.
|
boolean |
isSetJobTitle()
Determine if the JobTitle is configured.
|
boolean |
isSetSource()
Determine if the Source is configured.
|
void |
setAuthor(S100 value)
Set the title (e.g., Ms., Dr.) and name of the individual that is the
source of the comment..
|
void |
setDate(D value)
Set the date the comment was provided..
|
void |
setJobTitle(S100 value)
Set the title or position of the comment author..
|
void |
setSource(S100 value)
Set the name of the organisation or authority that is the source of the
comment.
|
String |
toString()
Get a string representation of this CommentSource instance configuration.
|
void |
unsetComment()
Clear the Comment field.
|
CommentSource |
withAuthor(String value)
Set the title (e.g., Ms., Dr.) and name of the individual that is the
source of the comment.
|
CommentSource |
withComment(Collection<Comment> values)
Set the Comment
|
CommentSource |
withComment(Comment... values)
Set the Comment
|
CommentSource |
withDate(Calendar value)
Set the date the comment was provided.
|
CommentSource |
withDate(Date value)
Set the date the comment was provided.
|
CommentSource |
withJobTitle(String value)
Set the title or position of the comment author.
|
CommentSource |
withSource(String value)
Set the name of the organisation or authority that is the source of the
comment.
|
public S100 getSource()
S100
instancepublic void setSource(S100 value)
value
- a S100
instancepublic boolean isSetSource()
public S100 getAuthor()
S100
instancepublic void setAuthor(S100 value)
value
- a S100
instancepublic boolean isSetAuthor()
public S100 getJobTitle()
S100
instancepublic void setJobTitle(S100 value)
value
- a S100
instancepublic boolean isSetJobTitle()
public D getDate()
D
instancepublic void setDate(D value)
value
- a D
instancepublic boolean isSetDate()
public Set<Comment> getComment()
Complex element Comment contains the comment provided by the Host Nation or Administration regarding an equipment supportability..
Comment
instancepublic boolean isSetComment()
public void unsetComment()
public CommentSource withSource(String value)
value
- An instances of type String
.public CommentSource withAuthor(String value)
value
- An instances of type String
.public CommentSource withJobTitle(String value)
value
- An instances of type String
.public CommentSource withDate(Calendar value)
value
- An instances of type Calendar
.public CommentSource withDate(Date value)
value
- An instances of type Date
.public CommentSource withComment(Comment... values)
Complex element Comment contains the comment provided by the Host Nation or Administration regarding an equipment supportability.
values
- One or more instances of type Comment...
.public CommentSource withComment(Collection<Comment> values)
Complex element Comment contains the comment provided by the Host Nation or Administration regarding an equipment supportability.
values
- A collection of Comment
instancespublic String toString()
public boolean isSet()
CommentSource
has no configuration requirements.
Copyright © 2016 OpenSSRF.org. All rights reserved.