info.sswap.api.input.impl
Class PropertyInputImpl
java.lang.Object
info.sswap.api.input.impl.AbstractInput
info.sswap.api.input.impl.PropertyInputImpl
- All Implemented Interfaces:
- Input, PropertyInput, java.io.Serializable
public class PropertyInputImpl
- extends AbstractInput
- implements PropertyInput
- Author:
- Evren Sirin
- See Also:
- Serialized Form
| Methods inherited from class info.sswap.api.input.impl.AbstractInput |
genericEqualTo, getDescription, getLabel, getPropertyInput, getType, getValue, isUnrestricted, setDescription, setLabel, setPropertyInput, setValue, toStringLabel |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
property
private final java.net.URI property
range
private Input range
minCardinality
private int minCardinality
maxCardinality
private int maxCardinality
PropertyInputImpl
public PropertyInputImpl(java.net.URI property)
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
getProperty
public java.net.URI getProperty()
-
- Specified by:
getProperty in interface PropertyInput
getRange
public Input getRange()
-
- Specified by:
getRange in interface PropertyInput
setRange
public void setRange(Input range)
-
- Specified by:
setRange in interface PropertyInput
getMinCardinality
public int getMinCardinality()
-
- Specified by:
getMinCardinality in interface PropertyInput
hasMinCardinality
public boolean hasMinCardinality()
-
- Specified by:
hasMinCardinality in interface PropertyInput
setMinCardinality
public void setMinCardinality(int minCardinality)
-
- Specified by:
setMinCardinality in interface PropertyInput
getMaxCardinality
public int getMaxCardinality()
-
- Specified by:
getMaxCardinality in interface PropertyInput
hasMaxCardinality
public boolean hasMaxCardinality()
-
- Specified by:
hasMaxCardinality in interface PropertyInput
setMaxCardinality
public void setMaxCardinality(int maxCardinality)
-
- Specified by:
setMaxCardinality in interface PropertyInput
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.