public class Publications
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<org.savantbuild.dep.domain.Publication>> |
publicationGroups |
Constructor and Description |
---|
Publications() |
Modifier and Type | Method and Description |
---|---|
Publications |
add(java.lang.String group,
org.savantbuild.dep.domain.Publication publication)
Adds the given Publication to the given group.
|
java.util.List<org.savantbuild.dep.domain.Publication> |
allPublications() |
boolean |
equals(java.lang.Object o) |
java.util.List<org.savantbuild.dep.domain.Publication> |
group(java.lang.String group)
Null safe getter for a single group.
|
int |
hashCode() |
int |
size() |
java.lang.String |
toString() |
public final java.util.Map<java.lang.String,java.util.List<org.savantbuild.dep.domain.Publication>> publicationGroups
public Publications add(java.lang.String group, org.savantbuild.dep.domain.Publication publication)
group
- The group.publication
- The Publication.public java.util.List<org.savantbuild.dep.domain.Publication> allPublications()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<org.savantbuild.dep.domain.Publication> group(java.lang.String group)
group
- The group.public int hashCode()
hashCode
in class java.lang.Object
public int size()