|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.iquery.metadata.expr.ResourceScope
@SASScope(value="ALL") @SubjectToChange public class ResourceScope
Enumeration Class which contains Resource scopes Resource scopes are used to determine what types of objects within a business model can be used in a ResourceAwareStringExpression(RASE). For example by defining the scope to be only business a RASE will only look for business items within a business model when performing resource identification. See the ResourceAwareStringExpression javadoc examples for more details on how this is used. Only one instance of each scope type will exist in the entire application. Thus "==" is valid for comparing these type objects.
| Field Summary | |
|---|---|
static int |
BUSINESS
|
static int |
BUSINESS_AND_PHYSICAL
|
static ResourceScope |
BUSINESS_AND_PHYSICAL_SCOPE
|
static ResourceScope |
BUSINESS_SCOPE
|
static int |
PHYSICAL
|
static ResourceScope |
PHYSICAL_SCOPE
|
| Method Summary | |
|---|---|
static ResourceScope |
getScope(int type)
Returns a ResourceScope given a type |
int |
getType()
Returns the type of this resource scope. |
boolean |
isBusiness()
Determines if this scope is business |
boolean |
isBusinessAndPhysical()
Determines if this scope is both business and physical |
boolean |
isPhysical()
Determines if this scope is physical |
| Field Detail |
|---|
@SASScope(value="ALL") @SubjectToChange public static final int BUSINESS
@SASScope(value="ALL") @SubjectToChange public static final int PHYSICAL
@SASScope(value="ALL") @SubjectToChange public static final int BUSINESS_AND_PHYSICAL
@SASScope(value="ALL") @SubjectToChange public static final ResourceScope BUSINESS_SCOPE
@SASScope(value="ALL") @SubjectToChange public static final ResourceScope PHYSICAL_SCOPE
@SASScope(value="ALL") @SubjectToChange public static final ResourceScope BUSINESS_AND_PHYSICAL_SCOPE
| Method Detail |
|---|
@SASScope(value="ALL") @SubjectToChange public static ResourceScope getScope(int type)
type - for example, ResourceScope.BUSINESS
(any type defined in ResourceScope)
@SASScope(value="ALL") @SubjectToChange public int getType()
@SASScope(value="ALL") @SubjectToChange public boolean isBusiness()
@SASScope(value="ALL") @SubjectToChange public boolean isPhysical()
@SASScope(value="ALL") @SubjectToChange public boolean isBusinessAndPhysical()
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||