|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.ocm.mapper.model.FieldDescriptor
public class FieldDescriptor
FieldDescriptor is used by the mapper to read general information on a atomic field
Constructor Summary | |
---|---|
FieldDescriptor()
|
Method Summary | |
---|---|
ClassDescriptor |
getClassDescriptor()
|
String |
getConverter()
|
String |
getFieldName()
|
String |
getJcrDefaultValue()
|
String |
getJcrName()
|
String |
getJcrOnParentVersion()
Getter for property jcrOnParentVersion. |
String |
getJcrType()
Getter for property jcrType. |
String[] |
getJcrValueConstraints()
|
boolean |
isId()
|
boolean |
isJcrAutoCreated()
Getter for propery jcrAutoCreated. |
boolean |
isJcrMandatory()
Getter for property jcrMandatory. |
boolean |
isJcrMultiple()
Getter for property jcrMultiple. |
boolean |
isJcrProtected()
Getter for property jcrProtected. |
boolean |
isPath()
|
boolean |
isUuid()
|
void |
setClassDescriptor(ClassDescriptor classDescriptor)
Set the associated class descriptor |
void |
setConverter(String converter)
Set the atomic converter |
void |
setFieldName(String fieldName)
|
void |
setId(boolean id)
|
void |
setJcrAutoCreated(boolean value)
Setter for property jcrAutoCreated. |
void |
setJcrDefaultValue(String defaultValue)
|
void |
setJcrMandatory(boolean value)
Setter for property jcrMandatory. |
void |
setJcrMultiple(boolean value)
Setter for property jcrMultiple. |
void |
setJcrName(String jcrName)
|
void |
setJcrOnParentVersion(String value)
Setter for property jcrOnParentVersion. |
void |
setJcrProtected(boolean value)
Setter for property jcrProtected. |
void |
setJcrType(String value)
Setter for property jcrType. |
void |
setJcrValueConstraints(String jcrValueConstraints)
|
void |
setJcrValueConstraints(String[] jcrValueConstraints)
|
void |
setPath(boolean path)
|
void |
setUuid(boolean uuid)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FieldDescriptor()
Method Detail |
---|
public String getFieldName()
public void setFieldName(String fieldName)
fieldName
- The fieldName to set.public String getJcrName()
getJcrName
in interface PropertyDefDescriptor
public void setJcrName(String jcrName)
jcrName
- The jcrName to set.public String getConverter()
public void setConverter(String converter)
converter
- the atomic converter to usepublic ClassDescriptor getClassDescriptor()
public void setClassDescriptor(ClassDescriptor classDescriptor)
classDescriptor
- the class descriptor to setpublic boolean isId()
public void setId(boolean id)
id
- public boolean isPath()
public void setPath(boolean path)
path
- The path to set.public boolean isUuid()
public void setUuid(boolean uuid)
path
- The path to set.public String getJcrType()
getJcrType
in interface PropertyDefDescriptor
public void setJcrType(String value)
value
- jcrTypepublic boolean isJcrAutoCreated()
isJcrAutoCreated
in interface PropertyDefDescriptor
public void setJcrAutoCreated(boolean value)
value
- jcrAutoCreatedpublic boolean isJcrMandatory()
isJcrMandatory
in interface PropertyDefDescriptor
public void setJcrMandatory(boolean value)
value
- jcrMandatorypublic String getJcrOnParentVersion()
getJcrOnParentVersion
in interface PropertyDefDescriptor
public void setJcrOnParentVersion(String value)
value
- jcrOnParentVersionpublic boolean isJcrProtected()
isJcrProtected
in interface PropertyDefDescriptor
public void setJcrProtected(boolean value)
value
- jcrProtectedpublic boolean isJcrMultiple()
isJcrMultiple
in interface PropertyDefDescriptor
public void setJcrMultiple(boolean value)
value
- jcrMultiplepublic String getJcrDefaultValue()
public void setJcrDefaultValue(String defaultValue)
public String[] getJcrValueConstraints()
public void setJcrValueConstraints(String[] jcrValueConstraints)
public void setJcrValueConstraints(String jcrValueConstraints)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |