|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 IFieldevent - the event
public final java.util.Set<java.lang.String> getPropertyKeys()
IField
getPropertyKeys in interface IFieldpublic final java.lang.Object getPropertyValue(java.lang.String key)
IField
getPropertyValue in interface IFieldpublic final boolean isVisible()
IField
isVisible in interface IFieldpublic final void setSynthetic(boolean synthetic)
public final void setVisible(boolean visible)
public final void setFieldType(FieldType fieldType)
public final FieldType getType()
IFieldFieldType for more
information.
getType in interface IFieldFieldTypepublic final java.lang.String getName()
IField
getName in interface IFieldpublic final java.lang.String getDescription()
IField
getDescription in interface IFieldpublic final java.lang.String getIdentifier()
IField
getIdentifier in interface IFieldpublic final java.lang.String getContentType()
IField
getContentType in interface IFieldpublic final java.lang.String getEventTypePath()
IField
getEventTypePath in interface IFieldpublic 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 IFieldpublic final boolean isSynthetic()
IField
isSynthetic in interface IFieldpublic final java.lang.String getRelationalKey()
IField
getRelationalKey in interface IFieldpublic void setRelationalKey(java.lang.String relationalKey)
public final boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic 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 | |||||||||