public class DefaultRequirement extends ISOMetadata implements Requirement
MI_Requirement
├─identifier……………………………………………………… Unique name, or code, for the requirement.
│ └─code…………………………………………………………… Alphanumeric value identifying an instance in the namespace.
├─requestor………………………………………………………… Origin of requirement.
│ ├─party………………………………………………………… Information about the parties.
│ │ └─name………………………………………………… Name of the party.
│ └─role…………………………………………………………… Function performed by the responsible party.
├─recipient………………………………………………………… Person(s), or body(ies), to receive results of requirement.
├─priority…………………………………………………………… Relative ordered importance, or urgency, of the requirement.
├─requestedDate……………………………………………… Required or preferred acquisition date and time.
│ ├─requestedDateOfCollection…… Preferred date and time of collection.
│ └─latestAcceptableDate………………… Latest date and time collection must be completed.
└─expiryDate……………………………………………………… Date and time after which collection is no longer valid.Limitations:
XML instead.Defined in the sis-metadata module
identifiers| Constructor and Description |
|---|
DefaultRequirement()
Constructs an initially empty requirement.
|
DefaultRequirement(Requirement object)
Constructs a new instance initialized with the values from the specified metadata object.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultRequirement |
castOrCopy(Requirement object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Citation |
getCitation()
Returns the identification of reference or guidance material for the requirement.
|
Date |
getExpiryDate()
Returns the date and time after which collection is no longer valid.
|
Identifier |
getIdentifier()
Returns the unique name, or code, for the requirement.
|
Priority |
getPriority()
Returns the relative ordered importance, or urgency, of the requirement.
|
Collection<ResponsibleParty> |
getRecipients()
Returns the person(s), or body(ies), to receive results of requirement.
|
RequestedDate |
getRequestedDate()
Returns the required or preferred acquisition date and time.
|
Collection<ResponsibleParty> |
getRequestors()
Returns the origin of requirement.
|
Collection<Plan> |
getSatisfiedPlans()
Returns the plan that identifies solution to satisfy the requirement.
|
void |
setCitation(Citation newValue)
Sets the identification of reference or guidance material for the requirement.
|
void |
setExpiryDate(Date newValue)
Sets the date and time after which collection is no longer valid.
|
void |
setIdentifier(Identifier newValue)
Sets the unique name, or code, for the requirement.
|
void |
setPriority(Priority newValue)
Sets the relative ordered importance, or urgency, of the requirement.
|
void |
setRecipients(Collection<? extends ResponsibleParty> newValues)
Sets the Person(s), or body(ies), to receive results of requirement.
|
void |
setRequestedDate(RequestedDate newValue)
Sets the required or preferred acquisition date and time.
|
void |
setRequestors(Collection<? extends ResponsibleParty> newValues)
Sets the origin of requirement.
|
void |
setSatisfiedPlans(Collection<? extends Plan> newValues) |
freeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic DefaultRequirement()
public DefaultRequirement(Requirement object)
object - the metadata to copy values from, or null if none.castOrCopy(Requirement)public static DefaultRequirement castOrCopy(Requirement object)
null, then this method returns null.DefaultRequirement, then it is returned unchanged.DefaultRequirement instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object - the object to get as a SIS implementation, or null if none.null if the argument was null.public Citation getCitation()
null if unspecified.getCitation in interface Requirementnull.public void setCitation(Citation newValue)
newValue - the new citation value.public Identifier getIdentifier()
getIdentifier in interface Requirementnull.public void setIdentifier(Identifier newValue)
newValue - the new identifier value.public Collection<ResponsibleParty> getRequestors()
ResponsibleParty is replaced by the Responsibility parent interface.
This change will be tentatively applied in GeoAPI 4.0.
getRequestors in interface Requirementpublic void setRequestors(Collection<? extends ResponsibleParty> newValues)
ResponsibleParty is replaced by the Responsibility parent interface.
This change will be tentatively applied in GeoAPI 4.0.
newValues - the new requestors values.public Collection<ResponsibleParty> getRecipients()
ResponsibleParty is replaced by the Responsibility parent interface.
This change will be tentatively applied in GeoAPI 4.0.
getRecipients in interface Requirementpublic void setRecipients(Collection<? extends ResponsibleParty> newValues)
ResponsibleParty is replaced by the Responsibility parent interface.
This change will be tentatively applied in GeoAPI 4.0.
newValues - the new recipients values.public Priority getPriority()
getPriority in interface Requirementnull.public void setPriority(Priority newValue)
newValue - the new priority value.public RequestedDate getRequestedDate()
getRequestedDate in interface Requirementnull.public void setRequestedDate(RequestedDate newValue)
newValue - the new requested date value.public Date getExpiryDate()
getExpiryDate in interface Requirementnull.public void setExpiryDate(Date newValue)
newValue - the new expiry date.public Collection<Plan> getSatisfiedPlans()
getSatisfiedPlans in interface Requirementpublic void setSatisfiedPlans(Collection<? extends Plan> newValues)
newValues - the new satisfied plans values.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.