org.objectweb.jorm.genclass.api
Interface GenClassProp

All Known Subinterfaces:
FosGenClassProp, RdbGenClassProp
All Known Implementing Classes:
FosGenClassMapping, GenClassMapping, RdbGenClassMapping

public interface GenClassProp

It dscribes the setters for defining the properties that can be set when initialising a GenClassMapping.

Author:
P. Dechamboux

Method Summary
 void setElemDesc(FieldDesc[] fds)
          Defines the fields property specifying the fields composing the element value structure of a generic class instance elements.
 void setIdentifierDesc(FieldDesc[] fds)
          Defines the fields property specifying the fields composing the identifier structure of a generic class instance.
 void setIndexDesc(FieldDesc[] fds)
          Defines the fields property specifying the fields composing the index structure of a generic class instance elements.
 void setPType(PType pt)
          Defines the type property of a generic class instance.
 

Method Detail

setPType

public void setPType(PType pt)
Defines the type property of a generic class instance.

Parameters:
pt - The associated type.

setIdentifierDesc

public void setIdentifierDesc(FieldDesc[] fds)
Defines the fields property specifying the fields composing the identifier structure of a generic class instance.

Parameters:
fds - The array of descriptions of the associated fields.

setIndexDesc

public void setIndexDesc(FieldDesc[] fds)
Defines the fields property specifying the fields composing the index structure of a generic class instance elements.

Parameters:
fds - The array of descriptions of the associated fields.

setElemDesc

public void setElemDesc(FieldDesc[] fds)
Defines the fields property specifying the fields composing the element value structure of a generic class instance elements.

Parameters:
fds - The array of descriptions of the associated fields.