org.encog.app.analyst.script.prop
Class PropertyConstraints
- java.lang.Object
-
- org.encog.app.analyst.script.prop.PropertyConstraints
-
public final class PropertyConstraints extends java.lang.ObjectHolds constant type information for each of the properties that the script might have. This constant information allows values to be validated. This class is a singleton.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description PropertyEntryfindEntry(java.lang.String v)Find an entry based on a string.java.util.List<PropertyEntry>getEntries(java.lang.String section, java.lang.String subSection)Get all entries for a section/subsection.PropertyEntrygetEntry(java.lang.String section, java.lang.String subSection, java.lang.String name)Get a single property entry.static PropertyConstraintsgetInstance()
-
-
-
Method Detail
-
getInstance
public static PropertyConstraints getInstance()
- Returns:
- The instance.
-
findEntry
public PropertyEntry findEntry(java.lang.String v)
Find an entry based on a string.- Parameters:
v- The property to find.- Returns:
- The property entry data.
-
getEntries
public java.util.List<PropertyEntry> getEntries(java.lang.String section, java.lang.String subSection)
Get all entries for a section/subsection.- Parameters:
section- The section to find.subSection- The subsection to find.- Returns:
- A list of property entries.
-
getEntry
public PropertyEntry getEntry(java.lang.String section, java.lang.String subSection, java.lang.String name)
Get a single property entry. If the section and subsection do not exist, an error is thrown.- Parameters:
section- The section.subSection- The subsection.name- The name of the property.- Returns:
- The property entry, or null if not found.
-
-
DMelt 3.0 © DataMelt by jWork.ORG