Skip navigation links

Oracle Fusion Middleware Identity Governance Framework Identity Directory Java API Reference
11 g Release 2 (11.1.2)

E27140-01


oracle.igf.ids.config
Class EntitiesConfig

java.lang.Object
  extended by oracle.igf.ids.config.EntitiesConfig


public class EntitiesConfig
extends java.lang.Object

Class for defining the attributes, entitites and entity relationships configuration.


Constructor Summary
EntitiesConfig()
          Default constructor
EntitiesConfig(java.util.List<AttributeDef> attributeDefs, java.util.List<EntityDef> entityDefs, java.util.List<EntityRelationship> entityRelationshipDefs)
          Constructs EntitiesConfig from given list of Attribute definitions, entity definitions and entity relationship definitions.

 

Method Summary
 void addAttributeDef(AttributeDef attributeDef)
          Adds new attribute definition
 void addEntity(EntityDef entity)
          Adds new entity definition
 void addEntityRelationship(EntityRelationship entityRelationship)
          Adds new entity relationship definition
 boolean equals(java.lang.Object obj)
          Checks if the given object is equals to this one
 AttributeDef getAttributeDef(java.lang.String name)
          Gets attribute definition for given attribute name
 java.util.List<AttributeDef> getAttributeDefs()
          Gets attribute definitions
static EntitiesConfig getDefaultEntityConfig()
          Gets new instance of EntitiesConfig object with default entity configuration containing attributes, entities and entity relationships definitions.
 java.util.List<EntityDef> getEntities()
          Gets entity definitions
 EntityDef getEntity(java.lang.String name)
          Gets entity definition for given entity name
 EntityRelationship getEntityRelationship(java.lang.String name)
          Gets entity relationship definition for given relationship name
 java.util.List<EntityRelationship> getEntityRelationships()
          Gets entity relationship definitions
 boolean isAttrReadOnly(java.lang.String attrName)
          Gets attribute's readonly value
 boolean isPwdAttr(java.lang.String attrName)
          Gets pwdattr value
 void setAttributeDefs(java.util.List<AttributeDef> attributeDefs)
          Sets attributes definitions
 void setEntities(java.util.List<EntityDef> entities)
          Sets entity definitions
 void setEntityRelationships(java.util.List<EntityRelationship> entityRelationships)
          Sets all entity relationships defintions

 

Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

EntitiesConfig

public EntitiesConfig()
Default constructor

EntitiesConfig

public EntitiesConfig(java.util.List<AttributeDef> attributeDefs,
                      java.util.List<EntityDef> entityDefs,
                      java.util.List<EntityRelationship> entityRelationshipDefs)
Constructs EntitiesConfig from given list of Attribute definitions, entity definitions and entity relationship definitions.
Parameters:
attributeDefs - List of attribute definitions
entityDefs - List of entity definitions
entityRelationshipDefs - List of entity relationship definitions

Method Detail

setAttributeDefs

public void setAttributeDefs(java.util.List<AttributeDef> attributeDefs)
Sets attributes definitions
Parameters:
attributeDefs - List of attribute definitions

addAttributeDef

public void addAttributeDef(AttributeDef attributeDef)
Adds new attribute definition
Parameters:
attributeDef - Attribute definition

getAttributeDefs

public java.util.List<AttributeDef> getAttributeDefs()
Gets attribute definitions
Returns:
list of all attribute definitions

getAttributeDef

public AttributeDef getAttributeDef(java.lang.String name)
Gets attribute definition for given attribute name
Parameters:
name - Attribute name
Returns:
attribute definition

setEntities

public void setEntities(java.util.List<EntityDef> entities)
Sets entity definitions
Parameters:
entities - List of entity definitions

addEntity

public void addEntity(EntityDef entity)
Adds new entity definition
Parameters:
entity - Entity definition

getEntities

public java.util.List<EntityDef> getEntities()
Gets entity definitions
Returns:
list of all entity definitions

getEntity

public EntityDef getEntity(java.lang.String name)
Gets entity definition for given entity name
Parameters:
name - Entity name
Returns:
entity definition

setEntityRelationships

public void setEntityRelationships(java.util.List<EntityRelationship> entityRelationships)
Sets all entity relationships defintions
Parameters:
entityRelationships - List of entity relationship definitions

addEntityRelationship

public void addEntityRelationship(EntityRelationship entityRelationship)
Adds new entity relationship definition
Parameters:
entityRelationship - Entity relationship definition

getEntityRelationships

public java.util.List<EntityRelationship> getEntityRelationships()
Gets entity relationship definitions
Returns:
list of all entity relationship definitions

getEntityRelationship

public EntityRelationship getEntityRelationship(java.lang.String name)
Gets entity relationship definition for given relationship name
Parameters:
name - Entity relationship name
Returns:
entity relationship definition

isAttrReadOnly

public boolean isAttrReadOnly(java.lang.String attrName)
Gets attribute's readonly value
Parameters:
attrName - Name of the attribute
Returns:
true if the attribute is readonly ; false otherwise

isPwdAttr

public boolean isPwdAttr(java.lang.String attrName)
Gets pwdattr value
Parameters:
attrName - Name of the attribute
Returns:
true if the attribute is password attr ; false otherwise

getDefaultEntityConfig

public static EntitiesConfig getDefaultEntityConfig()
Gets new instance of EntitiesConfig object with default entity configuration containing attributes, entities and entity relationships definitions.
Returns:
new EntitiesConfig object with default configuration

equals

public boolean equals(java.lang.Object obj)
Checks if the given object is equals to this one
Overrides:
equals in class java.lang.Object
Returns:
true if equals; false otherwise

Skip navigation links

Oracle Fusion Middleware Identity Governance Framework Identity Directory Java API Reference
11 g Release 2 (11.1.2)

E27140-01


Copyright © 2012 Oracle. All Rights Reserved.