java.lang.Cloneable, ResourceSelectorpublic class Majority extends ResourceSelectorContainer implements ResourceSelector
description, location, project| Constructor | Description |
|---|---|
Majority() |
Default constructor.
|
Majority(ResourceSelector... r) |
Convenience constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isSelected(Resource r) |
Return true if this Resource is selected.
|
void |
setAllowtie(boolean b) |
Set whether ties are allowed.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectadd, dieOnCircularReference, getCheckedRef, getResourceSelectors, getSelectors, hasSelectors, selectorCountpublic Majority()
public Majority(ResourceSelector... r)
r - the ResourceSelector[] to add.public void setAllowtie(boolean b)
b - whether a tie is a pass.public boolean isSelected(Resource r)
isSelected in interface ResourceSelectorr - the Resource to check.