|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultUsage
@ThreadSafe public class DefaultUsage
Brief description of ways in which the resource(s) is/are currently used.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultUsage()
Constructs an initially empty usage. |
|
DefaultUsage(InternationalString specificUsage,
Collection<ResponsibleParty> userContactInfo)
Creates an usage initialized to the specified values. |
|
DefaultUsage(Usage source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
| Method Summary | |
|---|---|
static DefaultUsage |
castOrCopy(Usage object)
Returns a Geotk metadata implementation with the same values than 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. |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultUsage()
public DefaultUsage(Usage source)
source - The metadata to copy, or null if none.
public DefaultUsage(InternationalString specificUsage,
Collection<ResponsibleParty> userContactInfo)
specificUsage - Brief description of the resource and/or resource series usage.userContactInfo - Means of communicating with person(s) and organization(s).| Method Detail |
|---|
public static DefaultUsage castOrCopy(Usage object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public InternationalString getSpecificUsage()
getSpecificUsage in interface Usagepublic void setSpecificUsage(InternationalString newValue)
newValue - The new specific usage.public Date getUsageDate()
getUsageDate in interface Usagepublic void setUsageDate(Date newValue)
newValue - The new usage date.public InternationalString getUserDeterminedLimitations()
getUserDeterminedLimitations in interface Usagepublic void setUserDeterminedLimitations(InternationalString newValue)
newValue - The new user determined limitations.public Collection<ResponsibleParty> getUserContactInfo()
getUserContactInfo in interface Usagepublic void setUserContactInfo(Collection<? extends ResponsibleParty> newValues)
newValues - The new user contact info.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||