|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.iam.platform.entitymgr.vo.SchemaModification
public class SchemaModification
Nested Class Summary | |
---|---|
static class |
SchemaModification.Operation |
Constructor Summary | |
---|---|
SchemaModification(java.lang.String attrName, SchemaModification.Operation op, SchemaAttribute attr) Represent a modification to a schema |
|
SchemaModification(java.lang.String attrName, SchemaModification.Operation op, SchemaAttribute attr, java.lang.String defaultValue) Represent a modification to a schema |
Method Summary | |
---|---|
SchemaAttribute |
getAttribute() Get the attribute modification of this modification |
java.lang.String |
getAttributeName() Get the attribute name of this modification |
java.lang.String |
getDefaultValue() Get the default value of this modification in the case of adding an attribute to a schema |
java.lang.String |
getFKRefAttribute() Get the schema attribute this foreign key is referencing |
java.lang.String |
getFKRefEntityType() Get the schema entity type this foreign key is referencing |
SchemaModification.Operation |
getOperation() Get the operation of this modification |
boolean |
isForeignKey() Get if the schema attribute is a foreign key |
boolean |
isIndexed() Get if the schema attribute is to be indexed |
boolean |
isPrimaryKey() Get if the schema attribute is a primary key |
void |
setForeignKey(java.lang.String refEntityType, java.lang.String refEntityAttr) Set the schema attribute as a foreign key |
void |
setIndexed() Set the schema attribute to be indexed |
void |
setPrimaryKey() Set the schema attribute as primary key |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaModification(java.lang.String attrName, SchemaModification.Operation op, SchemaAttribute attr)
attrName
- attribute name to be modifiedop
- operation to be done (i.e.: Add, Modify, Remove)attr
- attribute changepublic SchemaModification(java.lang.String attrName, SchemaModification.Operation op, SchemaAttribute attr, java.lang.String defaultValue)
attrName
- attribute name to be modifiedop
- operation to be done (i.e.: Add, Modify, Remove)attr
- attribute changedefaultValue
- default value in the case of adding an attribute to a schemaMethod Detail |
---|
public java.lang.String getAttributeName()
public SchemaModification.Operation getOperation()
public SchemaAttribute getAttribute()
public java.lang.String getDefaultValue()
public void setPrimaryKey()
public boolean isPrimaryKey()
public void setIndexed()
public boolean isIndexed()
public void setForeignKey(java.lang.String refEntityType, java.lang.String refEntityAttr)
refEntityType
- the schema entity type this foreign key is referencingrefEntityAttr
- the schema attribute this foreign key is referencingpublic boolean isForeignKey()
public java.lang.String getFKRefEntityType()
public java.lang.String getFKRefAttribute()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |