info.sswap.api.input.impl
Class AtomicInputImpl

java.lang.Object
  extended by info.sswap.api.input.impl.AbstractInput
      extended by info.sswap.api.input.impl.AtomicInputImpl
All Implemented Interfaces:
AtomicInput, Input, java.io.Serializable

public class AtomicInputImpl
extends AbstractInput
implements AtomicInput

Author:
Evren Sirin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class info.sswap.api.input.impl.AbstractInput
description, label, propertyInput, type, value
 
Constructor Summary
AtomicInputImpl()
           
AtomicInputImpl(java.net.URI type)
           
 
Method Summary
 void accept(InputVisitor visitor)
          Visitor function.
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 boolean isUnrestricted()
          Returns true if there are no restrictions on the input.
 java.lang.String toString()
           
 
Methods inherited from class info.sswap.api.input.impl.AbstractInput
genericEqualTo, getDescription, getLabel, getPropertyInput, getType, getValue, setDescription, setLabel, setPropertyInput, setValue, toStringLabel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface info.sswap.api.input.AtomicInput
getType
 
Methods inherited from interface info.sswap.api.input.Input
getDescription, getLabel, getPropertyInput, getValue, setDescription, setLabel, setPropertyInput, setValue
 

Constructor Detail

AtomicInputImpl

public AtomicInputImpl()

AtomicInputImpl

public AtomicInputImpl(java.net.URI type)
Method Detail

accept

public void accept(InputVisitor visitor)
Visitor function.

Specified by:
accept in interface Input

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

isUnrestricted

public boolean isUnrestricted()
Returns true if there are no restrictions on the input. This is the case for owl:Thing and rdfs:Literal.

Specified by:
isUnrestricted in interface Input
Overrides:
isUnrestricted in class AbstractInput

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.