primaryNoticeExists
public boolean primaryNoticeExists()
Does the work described have a primary notice?
- Returns:
- true unless the primary notice is null or whitespace
Descriptor(License primaryLicense,
String primaryCopyrightNotice,
String primaryOrganisationId,
String primaryNotice,
Map<String,License> licenses,
Map<String,String> notices,
Map<String,Organisation> organisations,
Collection<WithinDirectory> contents)
Descriptor(License primaryLicense,
String primaryOrganisationId,
String primaryNotice,
Map<String,License> licenses,
Map<String,String> notices,
Map<String,Organisation> organisations,
Collection<WithinDirectory> contents)
boolean
boolean
isOnlyPrimary(ContentElement contentElement)
boolean
isPrimary(ByOrganisation byOrganisation)
boolean
boolean
boolean
boolean
boolean
void
void
traverseDirectory(Visitor visitor,
String directoryName)
primaryLicense
- not nullprimaryOrganisationId
- not nullprimaryNotice
- possibly nulllicenses
- not null, possibly emptynotices
- not null, possibly emptyorganisations
- not null, possibly emptycontents
- not null, possibly emptyprimaryLicense
- not nullprimaryCopyrightNotice
- optional primary copyright notice, possibly nullprimaryOrganisationId
- not nullprimaryNotice
- possibly nulllicenses
- not null, possibly emptynotices
- not null, possibly emptyorganisations
- not null, possibly emptycontents
- not null, possibly emptyid
- not nulllicense
- not nullbyOrganisation
- not nullcontentElement
- not nullvisitor
- possibly nullvisitor
- possibly nulldirectoryName
- not null