
org.sweble.wikitext.engine.log.PostprocessorLog Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swc-engine Show documentation
Show all versions of swc-engine Show documentation
A minimal engine using the Sweble Wikitext Parser to
process articles in the context of a MediaWiki-like configuration.
/*
* This file is auto-generated.
* DO NOT MODIFY MANUALLY!
*
* Generated by AstNodeGenerator.
* Last generated: 2014-09-12 00:38:33.
*/
package org.sweble.wikitext.engine.log;
import de.fau.cs.osr.ptk.common.ast.*;
/**
* Postprocessor Log
*/
public class PostprocessorLog
extends ContentNode
{
private static final long serialVersionUID = 1L;
// =========================================================================
public PostprocessorLog()
{
super();
}
// =========================================================================
// Properties
private Long timeNeeded;
public final Long getTimeNeeded()
{
return this.timeNeeded;
}
public final Long setTimeNeeded(Long timeNeeded)
{
Long old = this.timeNeeded;
this.timeNeeded = timeNeeded;
return old;
}
@Override
public final int getPropertyCount()
{
return 1;
}
@Override
public final AstNodePropertyIterator propertyIterator()
{
return new AstNodePropertyIterator()
{
@Override
protected int getPropertyCount()
{
return 1;
}
@Override
protected String getName(int index)
{
switch (index)
{
case 0:
return "timeNeeded";
default:
throw new IndexOutOfBoundsException();
}
}
@Override
protected Object getValue(int index)
{
switch (index)
{
case 0:
return PostprocessorLog.this.getTimeNeeded();
default:
throw new IndexOutOfBoundsException();
}
}
@Override
protected Object setValue(int index, Object value)
{
switch (index)
{
case 0:
return PostprocessorLog.this.setTimeNeeded((Long) value);
default:
throw new IndexOutOfBoundsException();
}
}
};
}
// =========================================================================
// Children
// =========================================================================
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy