|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 Objectpublic String getUserAgentPattern()
getUserAgentPattern in interface org.apache.jetspeed.capabilities.Clientpublic void setUserAgentPattern(String userAgentPattern)
setUserAgentPattern in interface org.apache.jetspeed.capabilities.Clientpublic String getManufacturer()
getManufacturer in interface org.apache.jetspeed.capabilities.Clientpublic void setManufacturer(String name)
setManufacturer in interface org.apache.jetspeed.capabilities.Clientpublic String getModel()
getModel in interface org.apache.jetspeed.capabilities.Clientpublic void setModel(String name)
setModel in interface org.apache.jetspeed.capabilities.Clientpublic String getVersion()
getVersion in interface org.apache.jetspeed.capabilities.Clientpublic void setVersion(String name)
setVersion in interface org.apache.jetspeed.capabilities.Clientpublic Collection getMimetypes()
getMimetypes in interface org.apache.jetspeed.capabilities.Clientpublic void setMimetypes(Collection mimetypes)
setMimetypes in interface org.apache.jetspeed.capabilities.Clientpublic Collection getCapabilities()
getCapabilities in interface org.apache.jetspeed.capabilities.Clientpublic void setCapabilities(Collection capabilities)
setCapabilities in interface org.apache.jetspeed.capabilities.Clientpublic void setClientId(int id)
setClientId in interface org.apache.jetspeed.capabilities.Clientid - public int getClientId()
getClientId in interface org.apache.jetspeed.capabilities.Clientpublic String getName()
getName in interface org.apache.jetspeed.capabilities.Clientpublic void setName(String string)
setName in interface org.apache.jetspeed.capabilities.Clientstring - public int getPreferredMimeTypeId()
getPreferredMimeTypeId in interface org.apache.jetspeed.capabilities.Clientpublic void setPreferredMimeTypeId(int mimeTypeId)
setPreferredMimeTypeId in interface org.apache.jetspeed.capabilities.ClientmimeTypeId - MimeTypeIdpublic int getEvalOrder()
getEvalOrder in interface org.apache.jetspeed.capabilities.Clientpublic void setEvalOrder(int evalOrder)
setEvalOrder in interface org.apache.jetspeed.capabilities.ClientevalOrder - The evalOrder to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||