Modifier | Constructor and Description |
---|---|
protected |
SpecImpl()
The default constructor.
|
protected |
SpecImpl(BaseFactory factory) |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> v)
Accepts a visitor.
|
static boolean |
countingFinaliser()
public attribute determining whether to log to the
standard output information about who is creating
this instance of SpecImpl (e.g., ic >= sl)
|
SpecImpl |
create(Object[] args)
Returns a new object of this class.
|
boolean |
equals(Object obj)
Compares the specified object with this SpecImpl
for equality.
|
Object[] |
getChildren() |
ListTerm<Sect> |
getSect()
Returns the Sect elements.
|
String |
getVersion()
Returns the Version element.
|
int |
hashCode()
Returns the hash code value for this SpecImpl.
|
static long |
instanceCount()
Only concrete classes get the instance count method visible
|
static long |
instancesFinalised() |
void |
setVersion(String version)
Sets the Version element.
|
annsSize, getAnn, getAnns, getFactory, hasAnn, hasAnn, removeAnn, removeAnn, toString
protected SpecImpl()
object factory
.protected SpecImpl(BaseFactory factory)
public static boolean countingFinaliser()
public static long instancesFinalised()
public boolean equals(Object obj)
public int hashCode()
public <R> R accept(Visitor<R> v)
public Object[] getChildren()
getChildren
in interface Term
public static long instanceCount()
public ListTerm<Sect> getSect()
Spec
Returns the Sect elements.
To add or remove elements, use the methods provided by the List interface (that's why there is no need for a setter method).
public String getVersion()
Spec
getVersion
in interface Spec
public void setVersion(String version)
Spec
setVersion
in interface Spec
version
- the Version element.Spec.getVersion()
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.