Class UsageImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- 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
Constructors Constructor Description UsageImpl()
Constructs an initially empty usage.UsageImpl(Usage source)
Constructs a metadata entity initialized with the values from the specified metadata.UsageImpl(InternationalString specificUsage, Collection<ResponsibleParty> userContactInfo)
Creates an usage initialized to the specified values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 interfaceUsage
- 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 interfaceUsage
- 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 interfaceUsage
- 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 interfaceUsage
- 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).
-
-