com.evolveum.midpoint.schema
Class SelectorOptions<T>

java.lang.Object
  extended by com.evolveum.midpoint.schema.SelectorOptions<T>

public class SelectorOptions<T>
extends Object

Author:
semancik

Constructor Summary
SelectorOptions(ObjectSelector selector, T options)
           
SelectorOptions(T options)
           
 
Method Summary
static
<T> SelectorOptions<T>
create(ItemPath path, T options)
           
static
<T> SelectorOptions<T>
create(QName pathQName, T options)
           
static
<T> Collection<SelectorOptions<T>>
createCollection(ItemPath path, T options)
           
static
<T> Collection<SelectorOptions<T>>
createCollection(QName pathQName, T options)
           
static
<T> Collection<SelectorOptions<T>>
createCollection(T options)
           
static
<T> Collection<SelectorOptions<T>>
createCollection(T options, ItemPath... paths)
           
static
<T> Collection<SelectorOptions<T>>
createCollection(T options, QName... pathQNames)
           
 boolean equals(Object obj)
           
static
<T> T
findRootOptions(Collection<SelectorOptions<T>> options)
          Returns options that apply to the "root" object.
 T getOptions()
           
 ObjectSelector getSelector()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectorOptions

public SelectorOptions(ObjectSelector selector,
                       T options)

SelectorOptions

public SelectorOptions(T options)
Method Detail

getSelector

public ObjectSelector getSelector()

getOptions

public T getOptions()

create

public static <T> SelectorOptions<T> create(ItemPath path,
                                            T options)

create

public static <T> SelectorOptions<T> create(QName pathQName,
                                            T options)

createCollection

public static <T> Collection<SelectorOptions<T>> createCollection(ItemPath path,
                                                                  T options)

createCollection

public static <T> Collection<SelectorOptions<T>> createCollection(QName pathQName,
                                                                  T options)

createCollection

public static <T> Collection<SelectorOptions<T>> createCollection(T options)

createCollection

public static <T> Collection<SelectorOptions<T>> createCollection(T options,
                                                                  ItemPath... paths)

createCollection

public static <T> Collection<SelectorOptions<T>> createCollection(T options,
                                                                  QName... pathQNames)

findRootOptions

public static <T> T findRootOptions(Collection<SelectorOptions<T>> options)
Returns options that apply to the "root" object. I.e. options that have null selector, null path, empty path, ...


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 evolveum. All Rights Reserved.