public class Event
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | Event.EventNode | 
| static class  | Event.EventNodeXBRLAttribute | 
| static class  | Event.EventNodeXMLFragment | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | EV_ABSTRACTThe Constant EV_ABSTRACT. | 
| static int | EV_ATTRIBUTE_DELETEThe Constant EV_ATTRIBUTE_DELETE. | 
| static int | EV_ATTRIBUTE_NEWThe Constant EV_ATTRIBUTE_NEW. | 
| static int | EV_ATTRIBUTES_INEQUALITYThe Constant EV_ATTRIBUTES_INEQUALITY. | 
| static int | EV_BALANCEThe Constant EV_BALANCE. | 
| static int | EV_BLOCKThe Constant EV_BLOCK. | 
| static int | EV_CONCEPT_ATTRIBUTEThe Constant EV_CONCEPT_ATTRIBUTE. | 
| static int | EV_CONCEPT_CHILDThe Constant EV_CONCEPT_CHILD. | 
| static int | EV_CONCEPT_DELETEThe Constant EV_CONCEPT_DELETE. | 
| static int | EV_CONCEPT_NAMEThe Constant EV_CONCEPT_NAME. | 
| static int | EV_CONCEPT_NAMESPACEThe Constant EV_CONCEPT_NAMESPACE. | 
| static int | EV_CONCEPT_NEWThe Constant EV_CONCEPT_NEW. | 
| static int | EV_CONCEPT_RELATIONSHIP_FROMThe Constant EV_CONCEPT_RELATIONSHIP_FROM. | 
| static int | EV_CONCEPT_RELATIONSHIP_TOThe Constant EV_CONCEPT_RELATIONSHIP_TO. | 
| static int | EV_CONCEPT_TYPEThe Constant EV_CONCEPT_TYPE. | 
| static int | EV_DEFAULTThe Constant EV_DEFAULT. | 
| static int | EV_FINALThe Constant EV_FINAL. | 
| static int | EV_FIXEDThe Constant EV_FIXED. | 
| static int | EV_NILLABLEThe Constant EV_NILLABLE. | 
| static int | EV_NODE_DELETEThe Constant EV_NODE_DELETE. | 
| static int | EV_NODE_NEWThe Constant EV_NODE_NEW. | 
| static int | EV_NODES_INEQUALITYThe Constant EV_NODES_INEQUALITY. | 
| static int | EV_PERIOD_TYPEThe Constant EV_PERIOD_TYPE. | 
| static int | EV_RELATIONSHIP_ARCROLEThe Constant EV_RELATIONSHIP_ARCROLE. | 
| static int | EV_RELATIONSHIP_ATTRIBUTEThe Constant EV_RELATIONSHIP_ATTRIBUTE. | 
| static int | EV_RELATIONSHIP_DELETEThe Constant EV_RELATIONSHIP_DELETE. | 
| static int | EV_RELATIONSHIP_NEWThe Constant EV_RELATIONSHIP_NEW. | 
| static int | EV_RELATIONSHIP_NEXTThe Constant EV_RELATIONSHIP_NEXT. | 
| static int | EV_RELATIONSHIP_PREVIOUSThe Constant EV_RELATIONSHIP_PREVIOUS. | 
| static int | EV_RELATIONSHIP_PRIORITYThe Constant EV_RELATIONSHIP_PRIORITY. | 
| static int | EV_RELATIONSHIP_SOURCEThe Constant EV_RELATIONSHIP_SOURCE. | 
| static int | EV_RELATIONSHIP_TARGETThe Constant EV_RELATIONSHIP_TARGET. | 
| static int | EV_RELATIONSHIP_TYPEThe Constant EV_RELATIONSHIP_TYPE. | 
| static int | EV_RESOURCE_ATTRIBUTEThe Constant EV_RESOURCE_ATTRIBUTE. | 
| static int | EV_RESOURCE_CONTENTThe Constant EV_RESOURCE_CONTENT. | 
| static int | EV_RESOURCE_DELETEThe Constant EV_RESOURCE_DELETE. | 
| static int | EV_RESOURCE_NEWThe Constant EV_RESOURCE_NEW. | 
| static int | EV_RESOURCE_RELATIONSHIP_FROMThe Constant EV_RESOURCE_RELATIONSHIP_FROM. | 
| static int | EV_RESOURCE_RELATIONSHIP_TOThe Constant EV_RESOURCE_RELATIONSHIP_TO. | 
| static int | EV_RESOURCE_ROLEThe Constant EV_RESOURCE_ROLE. | 
| static int | EV_RESOURCE_TYPEThe Constant EV_RESOURCE_TYPE. | 
| static int | EV_RESOURCE_VALUEThe Constant EV_RESOURCE_VALUE. | 
| static int | EV_SUBSTITUTIONGROUPThe Constant EV_SUBSTITUTIONGROUP. | 
| static java.lang.String[] | eventDescriptionThe Constant eventDescription. | 
| static java.lang.String[] | eventNameThe Constant eventName. | 
| static int | UNKNOWNThe Constant UNKNOWN. | 
| Constructor and Description | 
|---|
| 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,
     Event.EventNode left,
     Event.EventNode right,
     Event parent)Instantiates a new event. | 
| Event(XBRLFactTuple tuple,
     Event parent,
     VlVersioningProcessor processor)Instantiates a new event. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(Event diff)Adds the. | 
| boolean | equals(java.lang.Object other) | 
| java.util.Vector<Event> | getChildren()Gets the children. | 
| java.lang.String | getEventName()The static string representing this event name. | 
| Event.EventNode | getFrom()Gets the from. | 
| java.lang.String | getItemParamFrom()Gets the item param from. | 
| java.lang.String | getItemParamTo()Gets the item param to. | 
| java.lang.String | getNote()Gets the note. | 
| Event | getParent()Gets the parent. | 
| Path | getPath()Constructs a new DiffPath. | 
| Event.EventNode | getTo()Gets the to. | 
| int | getType()return the Event type. | 
| void | insertElementAt(Event event,
               int index)Insert element at. | 
| boolean | isEnding()Checks if is ending. | 
| boolean | isStarting()Checks if is starting. | 
| boolean | isVoid(java.util.HashSet<Event> hashSet)Returns true if this diff contains no useful path. | 
| static Event | make(net.sf.saxon.om.NodeInfo info,
    Event parent,
    VlVersioningProcessor processor)Creates a new Event from a node with information about the event. | 
| static Event | make(java.lang.String note,
    int type,
    Event.EventNode left,
    Event.EventNode right,
    Event parent)Instantiates a new event. | 
| boolean | remove(Event event)Removes the. | 
| Event | remove(int index)Removes the. | 
| void | setChildren(java.util.Vector<Event> childrenDiffs)Sets the children. | 
| void | setFrom(XMLFragment left)Sets the from. | 
| void | setNote(java.lang.String note)Sets the note. | 
| void | setParent(Event diff)Sets the parent. | 
| void | setTo(XMLFragment right)Sets the to. | 
| void | setType(int newType)Change the type to a new type. | 
| java.lang.String | toString() | 
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
public Event(java.lang.String note,
             int type,
             Event.EventNode left,
             Event.EventNode right,
             Event parent)
note - the notetype - the typeleft - the leftright - the rightparent - the parentpublic Event(net.sf.saxon.om.NodeInfo info,
             Event parent,
             VlVersioningProcessor processor)
info - the infoparent - the parentprocessor - the processorpublic Event(XBRLFactTuple tuple, Event parent, VlVersioningProcessor processor)
tuple - the tupleparent - the parentprocessor - the processorpublic static Event make(java.lang.String note, int type, Event.EventNode left, Event.EventNode right, Event parent)
note - the notetype - the typeleft - the leftright - the rightparent - the parentpublic static Event make(net.sf.saxon.om.NodeInfo info, Event parent, VlVersioningProcessor processor)
info - the infoparent - the parentprocessor - the processorpublic 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 - the new typepublic void setFrom(XMLFragment left)
left - the new frompublic void setTo(XMLFragment right)
right - the new topublic void add(Event diff)
diff - the diffpublic void setParent(Event diff)
diff - the new parentpublic void setNote(java.lang.String note)
note - the new notepublic java.lang.String getNote()
public Event.EventNode getFrom()
public Event.EventNode 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(java.util.HashSet<Event> hashSet)
hashSet - public java.lang.String getEventName()
public java.lang.String getItemParamFrom()
public java.lang.String getItemParamTo()
public void insertElementAt(Event event, int index)
event - the eventindex - the indexpublic Event remove(int index)
index - the indexpublic boolean remove(Event event)
event - the eventCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa