Skip to content

Commit e29a8e1

Browse files
committed
added a comment about aliases
1 parent 982c0aa commit e29a8e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/com/mongodb/gridfs/GridFSFile.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ public Date getUploadDate(){
9090
return _uploadDate;
9191
}
9292

93+
/**
94+
* note: to set aliases, call put( "aliases" , List<String> )
95+
*/
9396
public List<String> getAliases(){
9497
return (List<String>)_metadata.get( "aliases" );
9598
}

0 commit comments

Comments
 (0)