📄 defaultparameterdescriptor.html
字号:
<PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> <B>getValueClass</B>()</PRE><DL><DD>Returns the class that describe the type of the parameter. If the value class specified at construction time was a primitive type (e.g. ), it is converted to the corresponding wrapper class (e.g. <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html" title="class or interface in java.lang"><CODE>Double</CODE></A>).<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getValueClass</CODE> in interface <CODE>ParameterDescriptor</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The parameter value class (never a primitive type).</DL></DD></DL><HR><A NAME="getValidValues()"><!-- --></A><H3>getValidValues</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>getValidValues</B>()</PRE><DL><DD>If this parameter allows only a finite set of values, returns this set. This set is usually a {linkplain org.opengis.util.CodeList code list} or enumerations. This method returns if this parameter doesn't limits values to a finite set.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getValidValues</CODE> in interface <CODE>ParameterDescriptor</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A finite set of valid values (usually from a {linkplain org.opengis.util.CodeList code list}), or if it doesn't apply.</DL></DD></DL><HR><A NAME="getDefaultValue()"><!-- --></A><H3>getDefaultValue</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getDefaultValue</B>()</PRE><DL><DD>Returns the default value for the parameter. The return type can be any type including a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A> or a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A>. If there is no default value, then this method returns .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getDefaultValue</CODE> in interface <CODE>ParameterDescriptor</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The default value, or in none.</DL></DD></DL><HR><A NAME="getMinimumValue()"><!-- --></A><H3>getMinimumValue</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A> <B>getMinimumValue</B>()</PRE><DL><DD>Returns the minimum parameter value. If there is no minimum value, or if minimum value is inappropriate for the <A HREF="../../../org/geotools/parameter/DefaultParameterDescriptor.html#getValueClass()">parameter type</A>, then this method returns .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getMinimumValue</CODE> in interface <CODE>ParameterDescriptor</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The minimum parameter value (often an instance of <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html" title="class or interface in java.lang"><CODE>Double</CODE></A>), or .</DL></DD></DL><HR><A NAME="getMaximumValue()"><!-- --></A><H3>getMaximumValue</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A> <B>getMaximumValue</B>()</PRE><DL><DD>Returns the maximum parameter value. If there is no maximum value, or if maximum value is inappropriate for the <A HREF="../../../org/geotools/parameter/DefaultParameterDescriptor.html#getValueClass()">parameter type</A>, then this method returns .<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getMaximumValue</CODE> in interface <CODE>ParameterDescriptor</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The minimum parameter value (often an instance of <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html" title="class or interface in java.lang"><CODE>Double</CODE></A>), or .</DL></DD></DL><HR><A NAME="getUnit()"><!-- --></A><H3>getUnit</H3><PRE>public <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> <B>getUnit</B>()</PRE><DL><DD>Returns the unit for <A HREF="../../../org/geotools/parameter/DefaultParameterDescriptor.html#getDefaultValue()">default</A>, <A HREF="../../../org/geotools/parameter/DefaultParameterDescriptor.html#getMinimumValue()">minimum</A> and <A HREF="../../../org/geotools/parameter/DefaultParameterDescriptor.html#getMaximumValue()">maximum</A> values. This attribute apply only if the values is of numeric type (usually an instance of <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html" title="class or interface in java.lang"><CODE>Double</CODE></A>).<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getUnit</CODE> in interface <CODE>ParameterDescriptor</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The unit for numeric value, or if it doesn't apply to the value type.</DL></DD></DL><HR><A NAME="equals(org.geotools.referencing.AbstractIdentifiedObject, boolean)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../../org/geotools/referencing/AbstractIdentifiedObject.html" title="class in org.geotools.referencing">AbstractIdentifiedObject</A> object, boolean compareMetadata)</PRE><DL><DD>Compares the specified object with this parameter for equality.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/parameter/AbstractParameterDescriptor.html#equals(org.geotools.referencing.AbstractIdentifiedObject, boolean)">equals</A></CODE> in class <CODE><A HREF="../../../org/geotools/parameter/AbstractParameterDescriptor.html" title="class in org.geotools.parameter">AbstractParameterDescriptor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - The object to compare to .<DD><CODE>compareMetadata</CODE> - for performing a strict comparaison, or for comparing only properties relevant to transformations.<DT><B>Returns:</B><DD> if both objects are equal.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash value for this parameter.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/parameter/AbstractParameterDescriptor.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../org/geotools/parameter/AbstractParameterDescriptor.html" title="class in org.geotools.parameter">AbstractParameterDescriptor</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The hash code value. This value doesn't need to be the same in past or future versions of this class.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultParameterDescriptor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/geotools/parameter/AbstractParameterDescriptor.html" title="class in org.geotools.parameter"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/parameter/DefaultParameterDescriptorGroup.html" title="class in org.geotools.parameter"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="DefaultParameterDescriptor.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_AbstractIdentifiedObject">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -