public class DefaultUsage extends ISOMetadata implements Usage
Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultUsage()
Constructs an initially empty usage.
|
DefaultUsage(CharSequence specificUsage,
ResponsibleParty userContactInfo)
Creates an usage initialized to the specified values.
|
DefaultUsage(Usage object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultUsage |
castOrCopy(Usage object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
InternationalString |
getSpecificUsage()
Returns a brief description of the resource and/or resource series usage.
|
Date |
getUsageDate()
Returns the date and time of the first use or range of uses
of the resource and/or resource series.
|
Collection<ResponsibleParty> |
getUserContactInfo()
Returns identification of and means of communicating with person(s) and organization(s)
using the resource(s).
|
InternationalString |
getUserDeterminedLimitations()
Returns applications, determined by the user for which the resource and/or resource series
is not suitable.
|
void |
setSpecificUsage(InternationalString newValue)
Sets a brief description of the resource and/or resource series usage.
|
void |
setUsageDate(Date newValue)
Sets the date and time of the first use.
|
void |
setUserContactInfo(Collection<? extends ResponsibleParty> newValues)
Sets identification of and means of communicating with person(s) and organization(s)
using the resource(s).
|
void |
setUserDeterminedLimitations(InternationalString newValue)
Sets applications, determined by the user for which the resource and/or resource series
is not suitable.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultUsage()
public DefaultUsage(CharSequence specificUsage, ResponsibleParty userContactInfo)
specificUsage
- Brief description of the resource and/or resource series usage, or null
if none.userContactInfo
- Means of communicating with person(s) and organization(s), or null
if none.public DefaultUsage(Usage object)
object
- The metadata to copy values from, or null
if none.castOrCopy(Usage)
public static DefaultUsage castOrCopy(Usage object)
null
, then this method returns null
.DefaultUsage
, then it is returned unchanged.DefaultUsage
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 InternationalString getSpecificUsage()
getSpecificUsage
in interface Usage
null
.public void setSpecificUsage(InternationalString newValue)
newValue
- The new specific usage.public Date getUsageDate()
getUsageDate
in interface Usage
null
.public void setUsageDate(Date newValue)
newValue
- The new usage date.public InternationalString getUserDeterminedLimitations()
getUserDeterminedLimitations
in interface Usage
null
.public void setUserDeterminedLimitations(InternationalString newValue)
newValue
- The new user determined limitations.public Collection<ResponsibleParty> getUserContactInfo()
getUserContactInfo
in interface Usage
public void setUserContactInfo(Collection<? extends ResponsibleParty> newValues)
newValues
- The new user contact info.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.