Package simpleorm.dataset
Enum SFieldFlags
- java.lang.Object
- 
- java.lang.Enum<SFieldFlags>
- 
- simpleorm.dataset.SFieldFlags
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<SFieldFlags>
 
 public enum SFieldFlags extends java.lang.Enum<SFieldFlags> Defines aspects of fields.- PRIMARY_KEY: part of primary key
- MANDATORY: Not Null
- NOT_OPTIMISTIC_LOCKED Not added to WHERE clause for optimistic locking. To stop types like Oracle LONG VARCHAR ending up in where clause. (was named UNCHECKED)
- ASCHAR, Create string as CHAR, not VARCHAR
- DESCRIPTIVE: Include in selects where SSelectMode.DESCRIPTIVE
- UNQUERIED: Exclude from selects unless SSelectMode.ALL
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description SDESCRIPTIVESMANDATORYSNOT_OPTIMISTIC_LOCKEDSPRIMARY_KEYSUNQUERIED
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static SFieldFlagsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SFieldFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SPRIMARY_KEYpublic static final SFieldFlags SPRIMARY_KEY 
 - 
SMANDATORYpublic static final SFieldFlags SMANDATORY 
 - 
SNOT_OPTIMISTIC_LOCKEDpublic static final SFieldFlags SNOT_OPTIMISTIC_LOCKED 
 - 
SDESCRIPTIVEpublic static final SFieldFlags SDESCRIPTIVE 
 - 
SUNQUERIEDpublic static final SFieldFlags SUNQUERIED 
 
- 
 - 
Method Detail- 
valuespublic static SFieldFlags[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SFieldFlags c : SFieldFlags.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static SFieldFlags valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-