|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.DataModel
public class DataModel
A deployed data model, analagous to an XML schema.
Warning: Serialized objects of this class or of a deployed class which is derived from it may not be compatible with future releases of C24 Integreation Objects. The current serialization support is appropriate for short term storage or RMI between applications running the same version of C24 Integreation Objects.
Constructor Summary | |
---|---|
DataModel()
Constructs a new instance. |
Method Summary | |
---|---|
Annotation |
getAnnotation()
Returns the annotation associated with this type. |
FormEnum |
getAttributeFormDefault()
Returns the attribute form default. |
ElementBlockEnum |
getBlockDefault()
Retutns the block default. |
static DataModel |
getBuiltInInstance()
Returns a singleton instance. |
String |
getDescription()
Returns a description of this type. |
FormEnum |
getElementFormDefault()
Returns the element form default. |
FinalEnum |
getFinalDefault()
Returns the final default. |
IDGeneratorMethodEnum |
getIdGeneratorMethodDefault()
Retutns the ID generator default method. |
String |
getName()
Returns the name of this component. |
ModelComponent |
getRedefined(ModelComponent redefiner)
Returns the component that is redefined by redefiner . |
ModelComponent |
getRedefiner(ModelComponent redefined)
Returns the component that redefines redefined . |
String |
getTargetNamespace()
Returns the target namespace. |
String |
getUniqueID()
|
String |
getUserVersion()
Returns the user defined version. |
void |
putRedefine(ModelComponent redefined,
ModelComponent redefiner)
Adds a redefine from the original component, redefined , to the replacement component, redefiner . |
void |
removeRedefine(ModelComponent redefined)
Removes the redefine for redefined . |
void |
setAnnotation(Annotation annotation)
Sets the annotation. |
void |
setAttributeFormDefault(FormEnum attributeFormDefault)
Sets the attribute for default. |
void |
setBlockDefault(ElementBlockEnum blockDefault)
Sets teh block default. |
void |
setElementFormDefault(FormEnum elementFormDefault)
Sets the element form default. |
void |
setFinalDefault(FinalEnum finalDefault)
Sets the final default. |
void |
setIdGeneratorMethodDefault(IDGeneratorMethodEnum generatorMethodDefault)
Sets the ID generator method default. |
void |
setName(String name)
Sets the name. |
void |
setSink(Sink sink)
Sets the default sink used by this model. |
void |
setSource(Source source)
Sets the default source used by this model. |
void |
setTargetNamespace(String targetNamespace)
Sets the target namespace. |
void |
setUniqueID(String uniqueID)
|
void |
setUserVersion(String userVersion)
Sets the user defined version. |
Sink |
sink()
Returns a clone of the default sink used by this model. |
Source |
source()
Returns a clone of the default source used by this model. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataModel()
Method Detail |
---|
public static DataModel getBuiltInInstance()
public String getName()
ModelComponent
getName
in interface ModelComponent
public void setName(String name)
name
- The new name.public Annotation getAnnotation()
public void setAnnotation(Annotation annotation)
annotation
- The annotation.public String getDescription()
public String getTargetNamespace()
public void setTargetNamespace(String targetNamespace)
If the empty string is used, it will be replaced by null
.
targetNamespace
- The new target namespace.public String getUserVersion()
public void setUserVersion(String userVersion)
userVersion
- The new user version.public FormEnum getAttributeFormDefault()
public void setAttributeFormDefault(FormEnum attributeFormDefault)
attributeFormDefault
- The new value.public FormEnum getElementFormDefault()
public void setElementFormDefault(FormEnum elementFormDefault)
elementFormDefault
- The new value.public FinalEnum getFinalDefault()
public void setFinalDefault(FinalEnum finalDefault)
finalDefault
- The new final default.public ElementBlockEnum getBlockDefault()
public void setBlockDefault(ElementBlockEnum blockDefault)
blockDefault
- The new block default value.public IDGeneratorMethodEnum getIdGeneratorMethodDefault()
public void setIdGeneratorMethodDefault(IDGeneratorMethodEnum generatorMethodDefault)
generatorMethodDefault
- The new generator default method.public Sink sink()
public void setSink(Sink sink)
sink
- The default sink.public Source source()
public void setSource(Source source)
source
- The default source.public void putRedefine(ModelComponent redefined, ModelComponent redefiner)
redefined
, to the replacement component, redefiner
.
redefined
- The original component.redefiner
- The replacement component.public void removeRedefine(ModelComponent redefined)
redefined
.
redefined
- The component whose redefine should be removed.public ModelComponent getRedefiner(ModelComponent redefined)
redefined
.
redefined
- The original component.
redefined
if no redefine exists.public ModelComponent getRedefined(ModelComponent redefiner)
redefiner
.
redefiner
- The replacement component.
redefiner
if no redefine exists.public String toString()
toString
in class Object
public String getUniqueID()
public void setUniqueID(String uniqueID)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |