public final class ConnectorObject extends Object
ConnectorObjectBuilder
to
construct instances of ConnectorObject.Constructor and Description |
---|
ConnectorObject(ObjectClass objectClass,
Set<? extends Attribute> attributes)
Public only for serialization; please use
ConnectorObjectBuilder . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Attribute |
getAttributeByName(String name)
Get an attribute by if it exists else null.
|
Set<Attribute> |
getAttributes()
Get the set of attributes that represent this object.
|
Name |
getName()
Gets the
Name of the object. |
ObjectClass |
getObjectClass()
Gets the
ObjectClass for this object. |
Uid |
getUid()
Get the native identifier for this object.
|
int |
hashCode() |
String |
toString() |
public ConnectorObject(ObjectClass objectClass, Set<? extends Attribute> attributes)
ConnectorObjectBuilder
.IllegalArgumentException
- if Name
or Uid
is missing from the set.public Set<Attribute> getAttributes()
Uid
and all OperationalAttributes
.public Attribute getAttributeByName(String name)
public Uid getUid()
public ObjectClass getObjectClass()
ObjectClass
for this object.
This is the "structural" object class. The primary object class that defines
basic object structure. It cannot be null.Copyright © 2019. All rights reserved.