Modifier and Type | Method and Description |
---|---|
String |
getId()
Get the id of this replica.
|
ChannelID |
getIdentificationChannel()
Get the identification channel that corresponds to this replica.
|
static Collection<Replica> |
getKnown()
Get all known replicas.
|
static String[] |
getKnownIds()
Get all known replicas as ids.
|
static Set<String> |
getKnownIdsAsSet()
Get the id of all known replicas as a string set.
|
static String[] |
getKnownNames()
Get names of all known replicas as string array.
|
static Set<String> |
getKnownNamesAsSet()
Get the names of all known replicas as a string set.
|
String |
getName()
Get the name of this replica.
|
static Replica |
getReplicaFromId(String id)
Get an object representing the replica with the given id.
|
static Replica |
getReplicaFromName(String name)
Get an object representing the replica with the given name.
|
ReplicaType |
getType()
Get the type of this replica.
|
static boolean |
isKnownReplicaId(String id)
Check, if a given id is a replica id.
|
static boolean |
isKnownReplicaName(String name)
Check, if a given name is a replica name.
|
String |
toString()
Returns a human-readable representation of the object.
|
public static Replica getReplicaFromId(String id)
id
- The given name of an replicaUnknownID
- if no replica is known with the given idpublic static Replica getReplicaFromName(String name)
name
- The given name of an replicaUnknownID
- if no replica is known with the given namepublic static boolean isKnownReplicaName(String name)
name
- a given namepublic static boolean isKnownReplicaId(String id)
id
- a given idpublic static Collection<Replica> getKnown()
public static String[] getKnownIds()
public static Set<String> getKnownIdsAsSet()
public static String[] getKnownNames()
public static Set<String> getKnownNamesAsSet()
public ReplicaType getType()
public String getId()
public String getName()
public ChannelID getIdentificationChannel()
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.