public class DefaultTelephone extends ISOMetadata implements Telephone
Defined in the sis-metadata module
identifiers, LOGGER
Constructor and Description |
---|
DefaultTelephone()
Constructs a default telephone.
|
DefaultTelephone(Telephone object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultTelephone |
castOrCopy(Telephone object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Collection<String> |
getFacsimiles()
Returns the telephone numbers of a facsimile machine for the responsible organization or individual.
|
Collection<String> |
getVoices()
Returns the telephone numbers by which individuals can speak to the responsible organization or individual.
|
void |
setFacsimiles(Collection<? extends String> newValues)
Sets the telephone number of a facsimile machine for the responsible organization or individual.
|
void |
setVoices(Collection<? extends String> newValues)
Sets the telephone numbers by which individuals can speak to the responsible organization or individual.
|
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 DefaultTelephone()
public DefaultTelephone(Telephone object)
object
- The metadata to copy values from, or null
if none.castOrCopy(Telephone)
public static DefaultTelephone castOrCopy(Telephone object)
null
, then this method returns null
.DefaultTelephone
, then it is returned unchanged.DefaultTelephone
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 Collection<String> getVoices()
public void setVoices(Collection<? extends String> newValues)
newValues
- The new telephone numbers, or null
if none.public Collection<String> getFacsimiles()
getFacsimiles
in interface Telephone
public void setFacsimiles(Collection<? extends String> newValues)
newValues
- The new telephone number, or null
if none.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.