|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.registry.model.Protocol
public final class Protocol
Field Summary | |
---|---|
private java.lang.String |
name
Stores a reference to the name of the protocol. |
static Protocol |
PROTOCOL_SRW
Stores a reference to the SRW protocol. |
static Protocol |
PROTOCOL_Z3950
Stores a reference to the Z3950 protocol. |
static java.util.List |
protocols
Stores a reference to all the protocols |
Constructor Summary | |
---|---|
private |
Protocol(java.lang.String name)
Private constructor to create the supported protocols |
Method Summary | |
---|---|
boolean |
equals(Protocol protocol)
Compares two protocol instances to see if they are equal |
static java.util.List |
getAllProtocols()
Returns a list of all the supported protocols |
java.lang.String |
getName()
Returns the name of the protocol |
java.lang.String |
toString()
Returns the to String representation of the protocol |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Protocol PROTOCOL_Z3950
public static final Protocol PROTOCOL_SRW
public static java.util.List protocols
private java.lang.String name
Constructor Detail |
---|
private Protocol(java.lang.String name)
name
- The name of the protocol being createdMethod Detail |
---|
public static java.util.List getAllProtocols()
public java.lang.String getName()
public boolean equals(Protocol protocol)
protocol
- The protocol to compare against this instance
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |