|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotFinalAPI public interface ViewDefinition<T extends ViewDefinition>
Method Summary | |
---|---|
PerspectiveBasedViewReferenceDefinition |
asPerspectiveBasedViewReferenceDefinition()
Returns this interface as a PerspectiveBasedViewReferenceDefinition. |
RuleBasedViewDefinition |
asRuleBasedViewDefinition()
Returns this interface as a RuleBasedViewDefinition. |
SingleViewReferenceDefinition |
asSingleViewReference()
Returns this interface as a SingleViewReference. |
ViewWithFoldingDefinition |
asViewWithFoldingDefinition()
Returns this interface as a ViewWithFoldingDefinition. |
java.lang.String |
description()
Returns a human-readable description of the view purpose. |
java.lang.String |
name()
The name fo the view. |
java.lang.String |
queryName()
Returns the name of the query this view is based on. |
View |
toView()
Return an object that can be executed using the ViewService methods. |
ViewType |
viewType()
The type of the view. |
T |
withDescription(java.lang.String description)
Changes the human-readable description of the view. |
Methods inherited from interface com.hp.ucmdb.api.bundles.BundledResource |
---|
bundleNames, withBundles |
Methods inherited from interface com.hp.ucmdb.api.util.SupportsClientProperties |
---|
clientProperties, clientProperty, usedNamespaces, withClientProperty |
Method Detail |
---|
java.lang.String name()
java.lang.String description()
T withDescription(java.lang.String description)
description
- the new description.
View toView()
ViewService
methods.
ViewService
methods.ViewType viewType()
java.lang.String queryName()
ViewWithFoldingDefinition
,
SingleViewReferenceDefinition
or
PerspectiveBasedViewReferenceDefinition
,
according to the viewType()
).
ViewWithFoldingDefinition asViewWithFoldingDefinition() throws java.lang.ClassCastException
java.lang.ClassCastException
- if viewType()
is not ViewType.VIEW_WITH_FOLDING_DEFINITION.SingleViewReferenceDefinition asSingleViewReference() throws java.lang.ClassCastException
java.lang.ClassCastException
- if viewType()
is not ViewType.SINGLE_VIEW_REFERENCE_DEFINITION.PerspectiveBasedViewReferenceDefinition asPerspectiveBasedViewReferenceDefinition() throws java.lang.ClassCastException
java.lang.ClassCastException
- if viewType()
is not ViewType.PERSPECTIVES_BASED_VIEW_REFERENCE_DEFINITION.RuleBasedViewDefinition asRuleBasedViewDefinition() throws java.lang.ClassCastException
java.lang.ClassCastException
- if viewType()
is not ViewType.RULE_BASED_VIEW.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |