|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iquery.metadata.expr.ResourceScope
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 |
---|
public static final int BUSINESS
public static final int PHYSICAL
public static final int BUSINESS_AND_PHYSICAL
public static final ResourceScope BUSINESS_SCOPE
public static final ResourceScope PHYSICAL_SCOPE
public static final ResourceScope BUSINESS_AND_PHYSICAL_SCOPE
Method Detail |
---|
public static ResourceScope getScope(int type)
type
- for example, ResourceScope.BUSINESS
(any type defined in ResourceScope)
public int getType()
public boolean isBusiness()
public boolean isPhysical()
public boolean isBusinessAndPhysical()
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |