org.geotools.metadata.iso.identification
Class UsageImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.identification.UsageImpl
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, org.opengis.metadata.identification.Usage

public class UsageImpl
extends MetadataEntity
implements org.opengis.metadata.identification.Usage

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

Since:
2.1
Version:
$Id: UsageImpl.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
UsageImpl()
          Constructs an initially empty usage.
UsageImpl(org.opengis.util.InternationalString specificUsage, java.util.Collection userContactInfo)
          Creates an usage initialized to the specified values.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this Usage with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 org.opengis.util.InternationalString getSpecificUsage()
          Brief description of the resource and/or resource series usage.
 java.util.Date getUsageDate()
          Date and time of the first use or range of uses of the resource and/or resource series.
 java.util.Collection getUserContactInfo()
          Identification of and means of communicating with person(s) and organization(s) using the resource(s).
 org.opengis.util.InternationalString getUserDeterminedLimitations()
          Applications, determined by the user for which the resource and/or resource series is not suitable.
 int hashCode()
          Returns a hash code value for this usage.
 void setSpecificUsage(org.opengis.util.InternationalString newValue)
          Set a brief description of the resource and/or resource series usage.
 void setUsageDate(java.util.Date newValue)
          Set the date and time of the first use.
 void setUserContactInfo(java.util.Collection newValues)
          Set identification of and means of communicating with person(s) and organization(s) using the resource(s).
 void setUserDeterminedLimitations(org.opengis.util.InternationalString newValue)
          Set applications, determined by the user for which the resource and/or resource series is not suitable.
 java.lang.String toString()
          Returns a string representation of this usage.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsageImpl

public UsageImpl()
Constructs an initially empty usage.


UsageImpl

public UsageImpl(org.opengis.util.InternationalString specificUsage,
                 java.util.Collection userContactInfo)
Creates an usage initialized to the specified values.

Method Detail

getSpecificUsage

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

Specified by:
getSpecificUsage in interface org.opengis.metadata.identification.Usage

setSpecificUsage

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


getUsageDate

public java.util.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 org.opengis.metadata.identification.Usage

setUsageDate

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


getUserDeterminedLimitations

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

Specified by:
getUserDeterminedLimitations in interface org.opengis.metadata.identification.Usage

setUserDeterminedLimitations

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


getUserContactInfo

public java.util.Collection getUserContactInfo()
Identification of and means of communicating with person(s) and organization(s) using the resource(s).

Specified by:
getUserContactInfo in interface org.opengis.metadata.identification.Usage

setUserContactInfo

public void setUserContactInfo(java.util.Collection newValues)
Set identification of and means of communicating with person(s) and organization(s) using the resource(s).


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this Usage with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this usage.


toString

public java.lang.String toString()
Returns a string representation of this usage.



Copyright © GeoTools. All Rights Reserved.