public enum ScopeRefMode extends Enum<ScopeRefMode>
Enum Constant and Description |
---|
CONTEXT_SCOPE_REF |
DIFF_VIEW_FROM |
DIFF_VIEW_TO |
SCOPE_REF |
Modifier and Type | Method and Description |
---|---|
abstract Integer |
getRefIdFrom(DomainObjectBase obj) |
abstract String |
getRefIdPropertyName() |
abstract Integer |
getScopeIdFrom(DomainObjectBase obj) |
abstract String |
getScopePropertyName() |
abstract void |
setRefIdOn(DomainObjectBase obj,
Integer refId) |
abstract void |
setScopeIdOn(DomainObjectBase obj,
Integer scopeId) |
static ScopeRefMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeRefMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopeRefMode SCOPE_REF
public static final ScopeRefMode CONTEXT_SCOPE_REF
public static final ScopeRefMode DIFF_VIEW_FROM
public static final ScopeRefMode DIFF_VIEW_TO
public static ScopeRefMode[] values()
for (ScopeRefMode c : ScopeRefMode.values()) System.out.println(c);
public static ScopeRefMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic abstract Integer getScopeIdFrom(DomainObjectBase obj)
public abstract Integer getRefIdFrom(DomainObjectBase obj)
public abstract void setScopeIdOn(DomainObjectBase obj, Integer scopeId)
public abstract void setRefIdOn(DomainObjectBase obj, Integer refId)
public abstract String getScopePropertyName()
public abstract String getRefIdPropertyName()
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.