|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.capabilities.impl.ClientImpl
public class ClientImpl
Simple implementation of the ClientRegistry interface.
Field Summary | |
---|---|
private Collection |
capabilities
|
private int |
clientId
|
private int |
evalOrder
|
private String |
manufacturer
|
private Collection |
mimetypes
|
private String |
model
|
private String |
name
|
private int |
preferredMimeTypeId
|
private String |
userAgentPattern
|
private String |
version
|
Constructor Summary | |
---|---|
ClientImpl()
|
Method Summary | |
---|---|
boolean |
equals(Object object)
Implements the equals operation so that 2 elements are equal if all their member values are equal. |
Collection |
getCapabilities()
|
int |
getClientId()
Get Client ID |
int |
getEvalOrder()
|
String |
getManufacturer()
|
Collection |
getMimetypes()
|
String |
getModel()
|
String |
getName()
|
int |
getPreferredMimeTypeId()
|
String |
getUserAgentPattern()
|
String |
getVersion()
|
void |
setCapabilities(Collection capabilities)
|
void |
setClientId(int id)
Set Client ID -- Assigns the Client ID |
void |
setEvalOrder(int evalOrder)
|
void |
setManufacturer(String name)
|
void |
setMimetypes(Collection mimetypes)
|
void |
setModel(String name)
|
void |
setName(String string)
|
void |
setPreferredMimeTypeId(int mimeTypeId)
Set preferred Mimetype ID for Client |
void |
setUserAgentPattern(String userAgentPattern)
|
void |
setVersion(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String userAgentPattern
private String manufacturer
private String model
private String version
private String name
private Collection mimetypes
private Collection capabilities
private int preferredMimeTypeId
private int clientId
private int evalOrder
Constructor Detail |
---|
public ClientImpl()
Method Detail |
---|
public boolean equals(Object object)
equals
in class Object
public String getUserAgentPattern()
getUserAgentPattern
in interface org.apache.jetspeed.capabilities.Client
public void setUserAgentPattern(String userAgentPattern)
setUserAgentPattern
in interface org.apache.jetspeed.capabilities.Client
public String getManufacturer()
getManufacturer
in interface org.apache.jetspeed.capabilities.Client
public void setManufacturer(String name)
setManufacturer
in interface org.apache.jetspeed.capabilities.Client
public String getModel()
getModel
in interface org.apache.jetspeed.capabilities.Client
public void setModel(String name)
setModel
in interface org.apache.jetspeed.capabilities.Client
public String getVersion()
getVersion
in interface org.apache.jetspeed.capabilities.Client
public void setVersion(String name)
setVersion
in interface org.apache.jetspeed.capabilities.Client
public Collection getMimetypes()
getMimetypes
in interface org.apache.jetspeed.capabilities.Client
public void setMimetypes(Collection mimetypes)
setMimetypes
in interface org.apache.jetspeed.capabilities.Client
public Collection getCapabilities()
getCapabilities
in interface org.apache.jetspeed.capabilities.Client
public void setCapabilities(Collection capabilities)
setCapabilities
in interface org.apache.jetspeed.capabilities.Client
public void setClientId(int id)
setClientId
in interface org.apache.jetspeed.capabilities.Client
id
- public int getClientId()
getClientId
in interface org.apache.jetspeed.capabilities.Client
public String getName()
getName
in interface org.apache.jetspeed.capabilities.Client
public void setName(String string)
setName
in interface org.apache.jetspeed.capabilities.Client
string
- public int getPreferredMimeTypeId()
getPreferredMimeTypeId
in interface org.apache.jetspeed.capabilities.Client
public void setPreferredMimeTypeId(int mimeTypeId)
setPreferredMimeTypeId
in interface org.apache.jetspeed.capabilities.Client
mimeTypeId
- MimeTypeIdpublic int getEvalOrder()
getEvalOrder
in interface org.apache.jetspeed.capabilities.Client
public void setEvalOrder(int evalOrder)
setEvalOrder
in interface org.apache.jetspeed.capabilities.Client
evalOrder
- The evalOrder to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |