|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.comparator.Event
public class Event
This is the object representation of a difference event between two objects in the from DTS and in the to DTS
| Constructor Summary | |
|---|---|
Event(net.sf.saxon.om.NodeInfo info,
Event parent,
VlVersioningProcessor processor)
Creates a new Event from a node with information about the event |
|
Event(java.lang.String note,
int type,
XMLFragment left,
XMLFragment right,
Event parent)
|
|
Event(XBRLFactTuple tuple,
Event parent,
VlVersioningProcessor processor)
|
|
| Method Summary | |
|---|---|
void |
add(Event diff)
|
boolean |
equals(java.lang.Object other)
|
java.util.Vector<Event> |
getChildren()
|
java.lang.String |
getEventName()
The static string representing this event name |
XMLFragment |
getFrom()
|
java.lang.String |
getItemParamFrom()
|
java.lang.String |
getItemParamTo()
|
java.lang.String |
getNote()
|
Event |
getParent()
|
Path |
getPath()
Constructs a new DiffPath. |
XMLFragment |
getTo()
|
int |
getType()
return the Event type. |
void |
insertElementAt(Event event,
int index)
|
boolean |
isEnding()
|
boolean |
isStarting()
|
boolean |
isVoid()
Returns true if this diff contains no useful path |
boolean |
remove(Event event)
|
Event |
remove(int index)
|
void |
setChildren(java.util.Vector<Event> childrenDiffs)
|
void |
setFrom(XMLFragment left)
|
void |
setNote(java.lang.String note)
|
void |
setParent(Event diff)
|
void |
setTo(XMLFragment right)
|
void |
setType(int newType)
Change the type to a new type |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int UNKNOWN
public static final int EV_CONCEPT_DELETE
public static final int EV_CONCEPT_NEW
public static final int EV_CONCEPT_NAMESPACE
public static final int EV_CONCEPT_NAME
public static final int EV_CONCEPT_TYPE
public static final int EV_SUBSTITUTIONGROUP
public static final int EV_PERIOD_TYPE
public static final int EV_BALANCE
public static final int EV_NILLABLE
public static final int EV_ABSTRACT
public static final int EV_BLOCK
public static final int EV_DEFAULT
public static final int EV_FIXED
public static final int EV_FINAL
public static final int EV_CONCEPT_RELATIONSHIP_FROM
public static final int EV_CONCEPT_RELATIONSHIP_TO
public static final int EV_CONCEPT_ATTRIBUTE
public static final int EV_CONCEPT_CHILD
public static final int EV_ATTRIBUTES_INEQUALITY
public static final int EV_NODES_INEQUALITY
public static final int EV_RELATIONSHIP_DELETE
public static final int EV_RELATIONSHIP_NEW
public static final int EV_RELATIONSHIP_TYPE
public static final int EV_RELATIONSHIP_SOURCE
public static final int EV_RELATIONSHIP_TARGET
public static final int EV_RELATIONSHIP_ARCROLE
public static final int EV_RELATIONSHIP_PREVIOUS
public static final int EV_RELATIONSHIP_NEXT
public static final int EV_RELATIONSHIP_PRIORITY
public static final int EV_RELATIONSHIP_ATTRIBUTE
public static final int EV_RESOURCE_DELETE
public static final int EV_RESOURCE_NEW
public static final int EV_RESOURCE_TYPE
public static final int EV_RESOURCE_ROLE
public static final int EV_RESOURCE_RELATIONSHIP_FROM
public static final int EV_RESOURCE_RELATIONSHIP_TO
public static final int EV_RESOURCE_ATTRIBUTE
public static final int EV_RESOURCE_CONTENT
public static final int EV_RESOURCE_VALUE
public static final int EV_ATTRIBUTE_NEW
public static final int EV_ATTRIBUTE_DELETE
public static final int EV_NODE_NEW
public static final int EV_NODE_DELETE
public static final java.lang.String[] eventName
public static final java.lang.String[] eventDescription
| Constructor Detail |
|---|
public Event(java.lang.String note,
int type,
XMLFragment left,
XMLFragment right,
Event parent)
public Event(net.sf.saxon.om.NodeInfo info,
Event parent,
VlVersioningProcessor processor)
info - parent - processor -
public Event(XBRLFactTuple tuple,
Event parent,
VlVersioningProcessor processor)
tuple - parent - processor - | Method Detail |
|---|
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic boolean isEnding()
public boolean isStarting()
public Path getPath()
public int getType()
public void setType(int newType)
newType - public void setFrom(XMLFragment left)
public void setTo(XMLFragment right)
public void add(Event diff)
public void setParent(Event diff)
public void setNote(java.lang.String note)
public java.lang.String getNote()
public XMLFragment getFrom()
public XMLFragment getTo()
public java.util.Vector<Event> getChildren()
public Event getParent()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setChildren(java.util.Vector<Event> childrenDiffs)
childrenDiffs - Vectorpublic boolean isVoid()
public java.lang.String getEventName()
public java.lang.String getItemParamFrom()
public java.lang.String getItemParamTo()
public void insertElementAt(Event event,
int index)
event - index - public Event remove(int index)
index - public boolean remove(Event event)
event -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||