Package com.redwood.scheduler.api.model
Interface SAPAbapProgramParameter
-
- All Superinterfaces:
Detail
,NamedDetailObject
,Readable
,SchedulerEntity
,SchedulerEntityComp
public interface SAPAbapProgramParameter extends NamedDetailObject, Readable
ABAP program parameter.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "SAPAbapProgramParameter" objects.static String
SEC_RANK_ALL
This rank is made of the following privileges:static String
SEC_RANK_NONE
This rank has no privileges assigned to it.static QueryObjectType<SAPAbapProgramParameter>
TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.static com.redwood.scheduler.infrastructure.logging.Versions
VERSION_SAPABAPPROGRAMPARAMETER
-
Fields inherited from interface com.redwood.scheduler.api.model.Detail
VERSION_DETAIL
-
Fields inherited from interface com.redwood.scheduler.api.model.NamedDetailObject
VERSION_NAMEDDETAILOBJECT
-
Fields inherited from interface com.redwood.scheduler.api.model.Readable
COPYRIGHT_MESSAGE_E, ID_E
-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM, VERSION_SCHEDULERENTITY
-
Fields inherited from interface com.redwood.scheduler.api.model.compatibility_14.SchedulerEntityComp
VERSION_SCHEDULERENTITYCOMP
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDbField()
Get the value for DbField.String
getDefaultValue()
Get the value for DefaultValue.String
getGroupId()
Get the value for GroupId.SAPAbapProgramParameterKind
getKind()
Get the value for Kind.Long
getLength()
Get the value for Length.Long
getPosition()
Get the value for Position.SAPAbapProgram
getSAPAbapProgram()
Get the SAPAbapProgram.SAPAbapProgramParameterType
getSapType()
Get the value for SapType.String
getType()
Get the value for Type.boolean
isHidden()
Get the value for Hidden.boolean
isProtected()
Get the value for Protected.boolean
isRequired()
Get the value for Required.void
setDbField(String newDbField)
Set the value for DbField.void
setDefaultValue(String newDefaultValue)
Set the value for DefaultValue.void
setGroupId(String newGroupId)
Set the value for GroupId.void
setHidden(boolean newHidden)
Set the value for Hidden.void
setKind(SAPAbapProgramParameterKind newKind)
Set the value for Kind.void
setLength(Long newLength)
Set the value for Length.void
setPosition(Long newPosition)
Set the value for Position.void
setProtected(boolean newProtected)
Set the value for Protected.void
setRequired(boolean newRequired)
Set the value for Required.void
setSapType(SAPAbapProgramParameterType newSapType)
Set the value for SapType.void
setType(String newType)
Set the value for Type.-
Methods inherited from interface com.redwood.scheduler.api.model.NamedDetailObject
getComment, getDescription, getName, getSearchName, setComment, setDescription, setName
-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
-
-
-
-
Field Detail
-
VERSION_SAPABAPPROGRAMPARAMETER
static final com.redwood.scheduler.infrastructure.logging.Versions VERSION_SAPABAPPROGRAMPARAMETER
-
OBJECT_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "SAPAbapProgramParameter" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<SAPAbapProgramParameter> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.
-
SEC_RANK_NONE
static final String SEC_RANK_NONE
This rank has no privileges assigned to it.- See Also:
- Constant Field Values
-
SEC_RANK_ALL
static final String SEC_RANK_ALL
This rank is made of the following privileges:- See Also:
- Constant Field Values
-
-
Method Detail
-
getPosition
Long getPosition()
Get the value for Position. (Position.) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getKind
SAPAbapProgramParameterKind getKind()
Get the value for Kind. (Kind of parameter.) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getLength
Long getLength()
Get the value for Length. (Length.) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getType
String getType()
Get the value for Type. (Data type.) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getSapType
SAPAbapProgramParameterType getSapType()
Get the value for SapType. (SAP data type.) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getDefaultValue
String getDefaultValue()
Get the value for DefaultValue. (Low value of the parameter)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isProtected
boolean isProtected()
Get the value for Protected. (Indicates if this is a protected parameter.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isHidden
boolean isHidden()
Get the value for Hidden. (Indicates if this is a hidden parameter.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isRequired
boolean isRequired()
Get the value for Required. (Indicates if this is a mandatory parameter.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getGroupId
String getGroupId()
Get the value for GroupId. (Group id of the parameter)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getDbField
String getDbField()
Get the value for DbField. (Database reference for the parameter)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setPosition
void setPosition(Long newPosition)
Set the value for Position. (Position.) This value is mandatory.- Parameters:
newPosition
- the new value for Position. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setKind
void setKind(SAPAbapProgramParameterKind newKind)
Set the value for Kind. (Kind of parameter.) This value is mandatory.- Parameters:
newKind
- the new value for Kind. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setLength
void setLength(Long newLength)
Set the value for Length. (Length.) This value is mandatory.- Parameters:
newLength
- the new value for Length. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setType
void setType(String newType)
Set the value for Type. (Data type.) This value is mandatory.- Parameters:
newType
- the new value for Type. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setSapType
void setSapType(SAPAbapProgramParameterType newSapType)
Set the value for SapType. (SAP data type.) This value is mandatory.- Parameters:
newSapType
- the new value for SapType. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setDefaultValue
void setDefaultValue(String newDefaultValue)
Set the value for DefaultValue. (Low value of the parameter) This value is optional.- Parameters:
newDefaultValue
- the new value for DefaultValue.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setProtected
void setProtected(boolean newProtected)
Set the value for Protected. (Indicates if this is a protected parameter.)- Parameters:
newProtected
- the new value for Protected.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setHidden
void setHidden(boolean newHidden)
Set the value for Hidden. (Indicates if this is a hidden parameter.)- Parameters:
newHidden
- the new value for Hidden.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setRequired
void setRequired(boolean newRequired)
Set the value for Required. (Indicates if this is a mandatory parameter.)- Parameters:
newRequired
- the new value for Required.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setGroupId
void setGroupId(String newGroupId)
Set the value for GroupId. (Group id of the parameter) This value is optional.- Parameters:
newGroupId
- the new value for GroupId.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setDbField
void setDbField(String newDbField)
Set the value for DbField. (Database reference for the parameter) This value is optional.- Parameters:
newDbField
- the new value for DbField.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getSAPAbapProgram
SAPAbapProgram getSAPAbapProgram()
Get the SAPAbapProgram.- Returns:
- SAPAbapProgram
- Throws:
ObjectDeletedException
- If this method is called when the object has been marked for deletion.ObjectNotAttachedToSessionException
- If this method is called when the object has been removed from it's session.
-
-