|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.JiraDataTypeImpl
@Immutable public final class JiraDataTypeImpl
Each data type can specify a collection of actual java types, represented via their Class, that this type is.
| Constructor Summary | |
|---|---|
JiraDataTypeImpl(Class<?> type)
|
|
JiraDataTypeImpl(Collection<? extends Class<?>> types)
|
|
| Method Summary | |
|---|---|
Collection<String> |
asStrings()
Provides a string representation of this JiraDataType's actual types. |
boolean |
equals(Object o)
|
Collection<Class<?>> |
getTypes()
The actual java type's, represented via their Class, that this type is. |
int |
hashCode()
|
boolean |
matches(JiraDataType otherType)
Determines if this type matches the passed in other JiraDataType. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JiraDataTypeImpl(Class<?> type)
public JiraDataTypeImpl(Collection<? extends Class<?>> types)
| Method Detail |
|---|
public Collection<String> asStrings()
JiraDataType
asStrings in interface JiraDataTypepublic boolean matches(JiraDataType otherType)
JiraDataTypeObject. This means all and any comparison against Object.class will
return true for the match method.
matches in interface JiraDataTypeotherType - the data type to compare to, not null.
public Collection<Class<?>> getTypes()
Class, that this type is.
This is not provided on the interface, if you need it you must cast the object to this implementation type.
Class's that this data type represents.public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||