|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jrockit.mc.flightrecorder.provider.Field
public abstract class Field
Abstract base class for fields.
Constructor Summary | |
---|---|
Field(IEventType type,
java.lang.String identifier)
|
|
Field(java.lang.String path,
java.lang.String identifier)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getContentType()
Returns the content type |
java.lang.String |
getDescription()
Return a description of the field. |
java.lang.String |
getEventTypePath()
Returns the event type path for the event type. |
java.lang.String |
getIdentifier()
Returns the identifier for the field. |
java.lang.String |
getName()
Returns a human readable name of the field. |
java.util.Set<java.lang.String> |
getPropertyKeys()
Returns the property keys available for the field. |
java.lang.Object |
getPropertyValue(java.lang.String key)
Returns the property value for the field. |
java.lang.String |
getRelationalKey()
Return the relation key for the field, or null if not available. |
FieldType |
getType()
Returns the type of the field. |
abstract java.lang.Object |
getValue(IEvent event)
Returns a field value for an event |
int |
hashCode()
|
boolean |
isRelational()
Returns true If the field has a relational key. |
boolean |
isSynthetic()
Returns true if the field is synthetic. |
boolean |
isVisible()
Return true if the field should be visible. |
void |
setContentType(java.lang.String contentType)
|
void |
setDescription(java.lang.String description)
|
void |
setFieldType(FieldType fieldType)
|
void |
setName(java.lang.String name)
|
void |
setPath(java.lang.String path)
|
void |
setProperty(java.lang.String key,
java.lang.Object value)
|
void |
setRelationalKey(java.lang.String relationalKey)
|
void |
setSynthetic(boolean synthetic)
|
void |
setVisible(boolean visible)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Field(IEventType type, java.lang.String identifier)
public Field(java.lang.String path, java.lang.String identifier)
Method Detail |
---|
public abstract java.lang.Object getValue(IEvent event)
IField
getValue
in interface IField
event
- the event
public final java.util.Set<java.lang.String> getPropertyKeys()
IField
getPropertyKeys
in interface IField
public final java.lang.Object getPropertyValue(java.lang.String key)
IField
getPropertyValue
in interface IField
public final boolean isVisible()
IField
isVisible
in interface IField
public final void setSynthetic(boolean synthetic)
public final void setVisible(boolean visible)
public final void setFieldType(FieldType fieldType)
public final FieldType getType()
IField
FieldType
for more
information.
getType
in interface IField
FieldType
public final java.lang.String getName()
IField
getName
in interface IField
public final java.lang.String getDescription()
IField
getDescription
in interface IField
public final java.lang.String getIdentifier()
IField
getIdentifier
in interface IField
public final java.lang.String getContentType()
IField
getContentType
in interface IField
public final java.lang.String getEventTypePath()
IField
getEventTypePath
in interface IField
public final void setName(java.lang.String name)
public final void setDescription(java.lang.String description)
public final void setContentType(java.lang.String contentType)
public final boolean isRelational()
IField
isRelational
in interface IField
public final boolean isSynthetic()
IField
isSynthetic
in interface IField
public final java.lang.String getRelationalKey()
IField
getRelationalKey
in interface IField
public void setRelationalKey(java.lang.String relationalKey)
public final boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public void setPath(java.lang.String path)
public void setProperty(java.lang.String key, java.lang.Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |