Modifier and Type | Optional Element and Description |
---|---|
String |
columnName
The name of the column that this field matches in the database.
|
boolean |
compoundPrimaryKey
Whether this field is part of a compound primary key or not.
|
GcPersist |
persist
Whether this field can be persisted to the database or not, if not set explicitly,
defaults to checking for the defaultFieldPersist setting of the class level annotation PersistableClass, which must exist in that case.
|
boolean |
primaryKey
Whether this field is the primary key or not.
|
boolean |
primaryKeyManuallyAssigned
If this is a primary key, whether it is manually assigned, in which case we need to check the database every time to see if we should insert or update.
|
String |
primaryKeySequenceName
The sequence name to populate the primary key with.
|
public abstract GcPersist persist
Whether this field can be persisted to the database or not, if not set explicitly, defaults to checking for the defaultFieldPersist setting of the class level annotation PersistableClass, which must exist in that case.
public abstract String columnName
public abstract String primaryKeySequenceName
public abstract boolean primaryKey
Whether this field is the primary key or not. If it is, it must be numeric unless primaryKeyManuallyAssigned is set to true, in which case it can be any type.
Copyright © 2016 Internet2. All rights reserved.