public interface CommentableRepositoryData extends RepositoryData
BOOLEAN_REPOSITORY_DATA_TYPE, CALENDAR_REPOSITORY_DATA_TYPE, DOUBLE_REPOSITORY_DATA_TYPE, LONG_REPOSITORY_DATA_TYPE, STREAM_REPOSITORY_DATA_TYPE, STRING_REPOSITORY_DATA_TYPE
Modifier and Type | Method and Description |
---|---|
List<DataComment> |
getComments(String name)
Retrieves the comments of the data stored in the repository with the given name
|
boolean |
hasComment(String name,
int index)
Indicates if the data stored in the repository with the given name has a comment
|
boolean |
hasComments(String name)
Indicates if the data stored in the repository with the given name has any comments
|
getAllDataNames, getBoolean, getBoolean, getBooleans, getBooleans, getDataNames, getDataNames, getDate, getDate, getDates, getDates, getDefaultPrefix, getDouble, getDouble, getDoubles, getDoubles, getFullName, getLong, getLong, getLongs, getLongs, getName, getPath, getRepositoryData, getRepositoryData, getStream, getStream, getStreamLength, getStreamLength, getStreams, getStreams, getString, getString, getStrings, getStrings, getType, getType, hasValue, hasValue, isMultiple, isMultiple
List<DataComment> getComments(String name)
name
- name of the dataDataComment
boolean hasComments(String name)
name
- name of the databoolean hasComment(String name, int index)
name
- name of the dataindex
- the comment index