|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LinkedModel
LinkedModel class - holds info about a reference to another model
Field Summary | |
---|---|
static java.lang.String |
IS_SINGLETON
Property key to specify if the linked model is a singleton. |
static java.lang.String |
PROFILE_MAPPER
Property key to specify a ProfileMapper on a linked model. |
Fields inherited from interface com.bowstreet.webapp.WebAppObject |
---|
ALWAYS_VISIBLE, INFORMATION_PROPERTY, NEVER_VISIBLE, SOMETIMES_VISIBLE |
Method Summary | |
---|---|
boolean |
getInheritExplicitProfile()
Get flag to determine if inheritance of explicit profiles from the parent Model is enabled |
java.lang.String |
getModelName()
Gets the Model name for this LinkedModel |
java.lang.String |
getProfileName()
Gets the explicit profile name that was set on this LinkedModel. |
void |
setInheritExplicitProfile(boolean set)
Set flag to determine if inheritance of explicit profiles from the parent Model is enabled |
void |
setLinkedModelInstance(WebAppAccess webAppAccess)
Sets a model instance for the specified Linked Model. |
void |
setModelName(java.lang.String modelName)
Sets the Model name for this LinkedModel |
void |
setProfileName(java.lang.String profileName)
Sets explicit profile name to use for this Linked Model. |
Methods inherited from interface com.bowstreet.webapp.WebAppObject |
---|
clone, getBuilderCall, getName, getProperties, getProperty, getVisibility, isHidden, putProperty, setBuilderCall, setHidden, setName, setVisibility |
Methods inherited from interface com.bowstreet.util.IExemplar |
---|
newInstance |
Field Detail |
---|
static final java.lang.String IS_SINGLETON
static final java.lang.String PROFILE_MAPPER
Method Detail |
---|
boolean getInheritExplicitProfile()
java.lang.String getModelName()
java.lang.String getProfileName()
void setInheritExplicitProfile(boolean set)
set
- True to enable this Linked Model to Inherit its explicit profile from the parent Model..void setLinkedModelInstance(WebAppAccess webAppAccess)
webAppAccess
- The WebAppAccess of the new Linked Model.void setModelName(java.lang.String modelName)
modelName
- The Model name for this LinkedModelvoid setProfileName(java.lang.String profileName)
profileName
- The Explicit profile name to use for this LinkedModel// build name (e.g. profiledText!Silver$Region!EastCoast) String profileName = "profiledText" + WebAppAccess.PROFILESET_PROFILE_SEPARATOR + "Silver" + LinkedModel.EXPLICIT_PROFILE_SEPARATOR + "Region" + WebAppAccess.PROFILESET_PROFILE_SEPARATOR + "EastCoast"; linkedModel.setProfileName(profileName);
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |