com.banda.function.domain
Class AbstractFunction<IN,OUT>

java.lang.Object
  extended by com.banda.core.domain.DomainObject<Long>
      extended by com.banda.core.domain.TechnicalDomainObject
          extended by com.banda.function.domain.AbstractFunction<IN,OUT>
All Implemented Interfaces:
KeyHolder<Long>, Function<IN,OUT>, Serializable
Direct Known Subclasses:
BooleanFunction, Expression, TransitionTable

public abstract class AbstractFunction<IN,OUT>
extends TechnicalDomainObject
implements Function<IN,OUT>

Since:
2012
Author:
© Peter Banda
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.banda.core.domain.DomainObject
DomainObject.DomainObjectKeyComparator<K extends Serializable & Comparable<K>>
 
Constructor Summary
protected AbstractFunction()
           
protected AbstractFunction(Class<IN> inputClazz, Class<OUT> outputClazz)
           
 
Method Summary
 Integer getArity()
           
 Class<IN> getInputClazz()
           
 String getInputClazzName()
           
 Class<OUT> getOutputClazz()
           
 String getOutputClazzName()
           
 Set<Integer> getReferencedVariableIndeces()
           
 Set<String> getReferencedVariables()
           
 void setArity(Integer arity)
           
 void setInputClazz(Class<IN> inputClazz)
           
 void setInputClazzName(String inputClazzName)
           
 void setOutputClazz(Class<OUT> outputClazz)
           
 void setOutputClazzName(String outputClazzName)
           
 
Methods inherited from class com.banda.core.domain.TechnicalDomainObject
getId, getKey, getVersion, setId, setKey, setVersion
 
Methods inherited from class com.banda.core.domain.DomainObject
copyFrom, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.banda.core.domain.KeyHolder
getKey, setKey
 

Constructor Detail

AbstractFunction

protected AbstractFunction()

AbstractFunction

protected AbstractFunction(Class<IN> inputClazz,
                           Class<OUT> outputClazz)
Method Detail

getArity

public Integer getArity()
Specified by:
getArity in interface Function<IN,OUT>

setArity

public void setArity(Integer arity)

getInputClazz

public Class<IN> getInputClazz()

setInputClazz

public void setInputClazz(Class<IN> inputClazz)

getOutputClazz

public Class<OUT> getOutputClazz()

setOutputClazz

public void setOutputClazz(Class<OUT> outputClazz)

getInputClazzName

public String getInputClazzName()

setInputClazzName

public void setInputClazzName(String inputClazzName)

getOutputClazzName

public String getOutputClazzName()

setOutputClazzName

public void setOutputClazzName(String outputClazzName)

getReferencedVariableIndeces

public Set<Integer> getReferencedVariableIndeces()
Specified by:
getReferencedVariableIndeces in interface Function<IN,OUT>

getReferencedVariables

public Set<String> getReferencedVariables()
Specified by:
getReferencedVariables in interface Function<IN,OUT>


Copyright © 2013. All Rights Reserved.