net.sf.uadetector.internal.data.domain
Class Robot
java.lang.Object
net.sf.uadetector.internal.data.domain.Robot
- All Implemented Interfaces:
- java.io.Serializable, Identifiable
@Immutable
public final class Robot
- extends java.lang.Object
- implements Identifiable, java.io.Serializable
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
TYPENAME
Default type name to support the classification against corresponding enum later |
|
Constructor Summary |
Robot(int id,
java.lang.String name,
UserAgentFamily family,
java.lang.String familyName,
java.lang.String infoUrl,
java.lang.String producer,
java.lang.String producerUrl,
java.lang.String userAgentString,
java.lang.String icon)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TYPENAME
public static final java.lang.String TYPENAME
- Default type name to support the classification against corresponding enum later
- See Also:
- Constant Field Values
Robot
public Robot(@Nonnegative
int id,
@Nonnull
java.lang.String name,
@Nonnull
UserAgentFamily family,
@Nonnull
java.lang.String familyName,
@Nonnull
java.lang.String infoUrl,
@Nonnull
java.lang.String producer,
@Nonnull
java.lang.String producerUrl,
@Nonnull
java.lang.String userAgentString,
@Nonnull
java.lang.String icon)
copyTo
public void copyTo(@Nonnull
UserAgent.Builder builder)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getFamily
@Nonnull
public UserAgentFamily getFamily()
getFamilyName
@Nonnull
public java.lang.String getFamilyName()
getIcon
@Nonnull
public java.lang.String getIcon()
getId
@Nonnegative
public int getId()
- Description copied from interface:
Identifiable
- Returns the identifier (ID) of an instance.
- Specified by:
getId in interface Identifiable
- Returns:
- numeric identifier
getInfoUrl
@Nonnull
public java.lang.String getInfoUrl()
getName
@Nonnull
public java.lang.String getName()
getProducer
@Nonnull
public java.lang.String getProducer()
getProducerUrl
@Nonnull
public java.lang.String getProducerUrl()
getUserAgentString
@Nonnull
public java.lang.String getUserAgentString()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011-2014. All Rights Reserved.