org.geotools.metadata.iso.identification
Class UsageImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by UsageImpl
All Implemented Interfaces:
Serializable, Cloneable, Usage

public class UsageImpl
extends MetadataEntity
implements Usage

Brief description of ways in which the resource(s) is/are currently used.

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
UsageImpl()
          Constructs an initially empty usage.
UsageImpl(InternationalString specificUsage, Collection<ResponsibleParty> userContactInfo)
          Creates an usage initialized to the specified values.
UsageImpl(Usage source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 InternationalString getSpecificUsage()
          Brief description of the resource and/or resource series usage.
 Date getUsageDate()
          Date and time of the first use or range of uses of the resource and/or resource series.
 Collection<ResponsibleParty> getUserContactInfo()
          Identification of and means of communicating with person(s) and organization(s) using the resource(s).
 InternationalString getUserDeterminedLimitations()
          Applications, determined by the user for which the resource and/or resource series is not suitable.
 void setSpecificUsage(InternationalString newValue)
          Set a brief description of the resource and/or resource series usage.
 void setUsageDate(Date newValue)
          Set the date and time of the first use.
 void setUserContactInfo(Collection<? extends ResponsibleParty> newValues)
          Set identification of and means of communicating with person(s) and organization(s) using the resource(s).
 void setUserDeterminedLimitations(InternationalString newValue)
          Set applications, determined by the user for which the resource and/or resource series is not suitable.
 
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsageImpl

public UsageImpl()
Constructs an initially empty usage.


UsageImpl

public UsageImpl(Usage source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

UsageImpl

public UsageImpl(InternationalString specificUsage,
                 Collection<ResponsibleParty> userContactInfo)
Creates an usage initialized to the specified values.

Method Detail

getSpecificUsage

public InternationalString getSpecificUsage()
Brief description of the resource and/or resource series usage.

Specified by:
getSpecificUsage in interface Usage
Returns:
Description of the resource usage.

setSpecificUsage

public void setSpecificUsage(InternationalString newValue)
Set a brief description of the resource and/or resource series usage.


getUsageDate

public Date getUsageDate()
Date and time of the first use or range of uses of the resource and/or resource series.

Specified by:
getUsageDate in interface Usage
Returns:
Date of the first use of the resource, or null.

setUsageDate

public void setUsageDate(Date newValue)
Set the date and time of the first use.


getUserDeterminedLimitations

public InternationalString getUserDeterminedLimitations()
Applications, determined by the user for which the resource and/or resource series is not suitable.

Specified by:
getUserDeterminedLimitations in interface Usage
Returns:
Applications for which the resource and/or resource series is not suitable, or null.

setUserDeterminedLimitations

public void setUserDeterminedLimitations(InternationalString newValue)
Set applications, determined by the user for which the resource and/or resource series is not suitable.


getUserContactInfo

public Collection<ResponsibleParty> getUserContactInfo()
Identification of and means of communicating with person(s) and organization(s) using the resource(s).

Specified by:
getUserContactInfo in interface Usage
Returns:
Means of communicating with person(s) and organization(s) using the resource(s).

setUserContactInfo

public void setUserContactInfo(Collection<? extends ResponsibleParty> newValues)
Set identification of and means of communicating with person(s) and organization(s) using the resource(s).



Copyright © 1996-2014 Geotools. All Rights Reserved.