org.encog.app.analyst.script.prop
Class PropertyEntry
- java.lang.Object
-
- org.encog.app.analyst.script.prop.PropertyEntry
-
- All Implemented Interfaces:
- java.lang.Comparable<PropertyEntry>
public class PropertyEntry extends java.lang.Object implements java.lang.Comparable<PropertyEntry>
A property entry for the Encog Analyst. Properties have a name and section.
-
-
Constructor Summary
Constructors Constructor and Description PropertyEntry(PropertyType theEntryType, java.lang.String theName, java.lang.String theSection)Construct a property entry.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intcompareTo(PropertyEntry o)static java.lang.StringdotForm(java.lang.String section, java.lang.String subSection, java.lang.String name)Put a property in dot form, which is "section.subsection.name".PropertyTypegetEntryType()java.lang.StringgetKey()java.lang.StringgetName()java.lang.StringgetSection()java.lang.StringtoString()voidvalidate(java.lang.String theSection, java.lang.String subSection, java.lang.String theName, java.lang.String value)Validate the specified property.
-
-
-
Constructor Detail
-
PropertyEntry
public PropertyEntry(PropertyType theEntryType, java.lang.String theName, java.lang.String theSection)
Construct a property entry.- Parameters:
theEntryType- The entry type.theName- The name of the property.theSection- The section of the property.
-
-
Method Detail
-
dotForm
public static java.lang.String dotForm(java.lang.String section, java.lang.String subSection, java.lang.String name)Put a property in dot form, which is "section.subsection.name".- Parameters:
section- The section.subSection- The subsection.name- The name.- Returns:
- The property in dot form.
-
compareTo
public int compareTo(PropertyEntry o)
- Specified by:
compareToin interfacejava.lang.Comparable<PropertyEntry>
-
getEntryType
public PropertyType getEntryType()
- Returns:
- the entryType
-
getKey
public java.lang.String getKey()
- Returns:
- The key.
-
getName
public java.lang.String getName()
- Returns:
- the name
-
getSection
public java.lang.String getSection()
- Returns:
- the section
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validate
public void validate(java.lang.String theSection, java.lang.String subSection, java.lang.String theName, java.lang.String value)Validate the specified property.- Parameters:
theSection- The section.subSection- The sub section.theName- The name of the property.value- The value of the property.
-
-
DMelt 3.0 © DataMelt by jWork.ORG