public static class Resource.Builder extends Object implements IBuilder, Serializable
IBuilder
,
Serialized FormConstructor and Description |
---|
Builder()
Empty constructor
|
Builder(Resource resource)
Constructor which starts from an existing component.
|
Modifier and Type | Method and Description |
---|---|
Resource |
commit()
Finalizes the data gathered for this builder instance.
|
List<String> |
getCompliesWiths()
Builder accessor for the compliesWith attribute
|
List<Contributor.Builder> |
getContributors()
Builder accessor for contributors
|
String |
getCreateDate()
Builder accessor for the createDate attribute
|
List<Creator.Builder> |
getCreators()
Builder accessor for creators
|
Dates.Builder |
getDates()
Builder accessor for the dates
|
Description.Builder |
getDescription()
Builder accessor for the description
|
ExtensibleAttributes.Builder |
getExtensibleAttributes()
Builder accessor for the extensibleAttributes
|
List<ExtensibleElement.Builder> |
getExtensibleElements()
Builder accessor for the extensibleElements
|
Format.Builder |
getFormat()
Builder accessor for the format
|
List<GeospatialCoverage.Builder> |
getGeospatialCoverages()
Builder accessor for the geospatialCoverages
|
List<Identifier.Builder> |
getIdentifiers()
Builder accessor for the identifiers
|
Integer |
getIsmDESVersion()
Builder accessor for the ISM DESVersion
|
List<Language.Builder> |
getLanguages()
Builder accessor for the languages
|
MetacardInfo.Builder |
getMetacardInfo()
Builder accessor for the metacardInfo
|
NoticeAttributes.Builder |
getNoticeAttributes()
Builder accessor for the noticeAttributes
|
Integer |
getNtkDESVersion()
Builder accessor for the NTK DESVersion
|
List<PointOfContact.Builder> |
getPointOfContacts()
Builder accessor for points of contact
|
List<IBuilder> |
getProducers()
Convenience accessor for all of the producers.
|
List<Publisher.Builder> |
getPublishers()
Builder accessor for publishers
|
List<RelatedResource.Builder> |
getRelatedResources()
Builder accessor for the relatedResources
|
Boolean |
getResourceElement()
Accessor for the resourceElement attribute
|
ResourceManagement.Builder |
getResourceManagement()
Builder accessor for the resourceManagement
|
Rights.Builder |
getRights()
Builder accessor for the rights
|
Security.Builder |
getSecurity()
Builder accessor for the security
|
SecurityAttributes.Builder |
getSecurityAttributes()
Builder accessor for the securityAttributes
|
List<Source.Builder> |
getSources()
Builder accessor for the sources
|
List<SubjectCoverage.Builder> |
getSubjectCoverages()
Builder accessor for the subjectCoverages
|
List<Subtitle.Builder> |
getSubtitles()
Builder accessor for the subtitles
|
List<TemporalCoverage.Builder> |
getTemporalCoverages()
Builder accessor for the temporalCoverages
|
List<Title.Builder> |
getTitles()
Builder accessor for the titles
|
List<Type.Builder> |
getTypes()
Builder accessor for the types
|
List<VirtualCoverage.Builder> |
getVirtualCoverages()
Builder accessor for the virtualCoverages
|
boolean |
isEmpty()
Checks if any values have been provided for this Builder.
|
void |
setCompliesWiths(List<String> compliesWiths)
Builder accessor for the compliesWith attribute
|
void |
setCreateDate(String createDate)
Builder accessor for the createDate attribute
|
void |
setDates(Dates.Builder dates)
Builder accessor for the dates
|
void |
setDescription(Description.Builder description)
Builder accessor for the description
|
void |
setExtensibleAttributes(ExtensibleAttributes.Builder extensibleAttributes)
Builder accessor for the extensibleAttributes
|
void |
setFormat(Format.Builder format)
Builder accessor for the format
|
void |
setIsmDESVersion(Integer desVersion)
Builder accessor for the ISM DESVersion
|
void |
setMetacardInfo(MetacardInfo.Builder metacardInfo)
Builder accessor for the metacardInfo
|
void |
setNoticeAttributes(NoticeAttributes.Builder noticeAttributes)
Builder accessor for the noticeAttributes
|
void |
setNtkDESVersion(Integer desVersion)
Builder accessor for the NTK DESVersion
|
void |
setResourceElement(Boolean resourceElement)
Accessor for the resourceElement attribute
|
void |
setResourceManagement(ResourceManagement.Builder resourceManagement)
Builder accessor for the resourceManagement
|
void |
setRights(Rights.Builder rights)
Builder accessor for the rights
|
void |
setSecurity(Security.Builder security)
Builder accessor for the security
|
void |
setSecurityAttributes(SecurityAttributes.Builder securityAttributes)
Builder accessor for the securityAttributes
|
public Builder()
public Builder(Resource resource)
public Resource commit() throws InvalidDDMSException
IBuilder
commit
in interface IBuilder
InvalidDDMSException
- if any required information is missing or malformedIBuilder.commit()
public boolean isEmpty()
IBuilder
isEmpty
in interface IBuilder
IBuilder.isEmpty()
public MetacardInfo.Builder getMetacardInfo()
public void setMetacardInfo(MetacardInfo.Builder metacardInfo)
public List<Identifier.Builder> getIdentifiers()
public List<Title.Builder> getTitles()
public List<Subtitle.Builder> getSubtitles()
public Description.Builder getDescription()
public void setDescription(Description.Builder description)
public List<Language.Builder> getLanguages()
public Dates.Builder getDates()
public void setDates(Dates.Builder dates)
public Rights.Builder getRights()
public void setRights(Rights.Builder rights)
public List<Source.Builder> getSources()
public List<Type.Builder> getTypes()
public List<IBuilder> getProducers()
public List<Creator.Builder> getCreators()
public List<Contributor.Builder> getContributors()
public List<Publisher.Builder> getPublishers()
public List<PointOfContact.Builder> getPointOfContacts()
public Format.Builder getFormat()
public void setFormat(Format.Builder format)
public List<SubjectCoverage.Builder> getSubjectCoverages()
public List<VirtualCoverage.Builder> getVirtualCoverages()
public List<TemporalCoverage.Builder> getTemporalCoverages()
public List<GeospatialCoverage.Builder> getGeospatialCoverages()
public List<RelatedResource.Builder> getRelatedResources()
public ResourceManagement.Builder getResourceManagement()
public void setResourceManagement(ResourceManagement.Builder resourceManagement)
public Security.Builder getSecurity()
public void setSecurity(Security.Builder security)
public List<ExtensibleElement.Builder> getExtensibleElements()
public String getCreateDate()
public void setCreateDate(String createDate)
public Boolean getResourceElement()
public void setResourceElement(Boolean resourceElement)
public List<String> getCompliesWiths()
public void setCompliesWiths(List<String> compliesWiths)
public Integer getNtkDESVersion()
public void setNtkDESVersion(Integer desVersion)
public Integer getIsmDESVersion()
public void setIsmDESVersion(Integer desVersion)
public SecurityAttributes.Builder getSecurityAttributes()
public void setSecurityAttributes(SecurityAttributes.Builder securityAttributes)
public NoticeAttributes.Builder getNoticeAttributes()
public void setNoticeAttributes(NoticeAttributes.Builder noticeAttributes)
public ExtensibleAttributes.Builder getExtensibleAttributes()
public void setExtensibleAttributes(ExtensibleAttributes.Builder extensibleAttributes)
Copyright 2010 - 2019 by Brian Uri!
Generated on 09/15/2016 12:36 PM
https://ddmsence.urizone.net/