|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Basic<T>
This interface defines the contract for the basic
xsd type
Method Summary | |
---|---|
Basic<T> |
access(AccessType access)
Sets the access attribute |
Basic<T> |
access(String access)
Sets the access attribute |
Basic<T> |
enumerated(EnumType enumerated)
Sets the enumerated element |
Basic<T> |
enumerated(String enumerated)
Sets the enumerated element |
Basic<T> |
fetch(FetchType fetch)
Sets the fetch attribute |
Basic<T> |
fetch(String fetch)
Sets the fetch attribute |
AccessType |
getAccess()
Returns the access attribute |
String |
getAccessAsString()
Returns the access attribute |
EnumType |
getEnumerated()
Returns the enumerated element |
String |
getEnumeratedAsString()
Returns the enumerated element |
FetchType |
getFetch()
Returns the fetch attribute |
String |
getFetchAsString()
Returns the fetch attribute |
String |
getName()
Returns the name attribute |
Column<Basic<T>> |
getOrCreateColumn()
If not already created, a new column element with the given value will be created. |
TemporalType |
getTemporal()
Returns the temporal element |
String |
getTemporalAsString()
Returns the temporal element |
Boolean |
isLob()
Removes the lob element |
Boolean |
isOptional()
Returns the optional attribute |
Basic<T> |
lob()
Sets the lob element |
Basic<T> |
name(String name)
Sets the name attribute |
Basic<T> |
optional(Boolean optional)
Sets the optional attribute |
Basic<T> |
removeAccess()
Removes the access attribute |
Basic<T> |
removeColumn()
Removes the column element |
Basic<T> |
removeEnumerated()
Removes the enumerated attribute |
Basic<T> |
removeFetch()
Removes the fetch attribute |
Basic<T> |
removeLob()
Removes the lob element |
Basic<T> |
removeName()
Removes the name attribute |
Basic<T> |
removeOptional()
Removes the optional attribute |
Basic<T> |
removeTemporal()
Removes the temporal attribute |
Basic<T> |
temporal(String temporal)
Sets the temporal element |
Basic<T> |
temporal(TemporalType temporal)
Sets the temporal element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
Column<Basic<T>> getOrCreateColumn()
column
element with the given value will be created.
Otherwise, the existing column
element will be returned.
Column>
Basic<T> removeColumn()
column
element
Basic
Basic<T> lob()
lob
element
Basic
Boolean isLob()
lob
element
Basic
Basic<T> removeLob()
lob
element
Basic
Basic<T> temporal(TemporalType temporal)
temporal
element
temporal
- the value for the element temporal
Basic
Basic<T> temporal(String temporal)
temporal
element
temporal
- the value for the element temporal
Basic
TemporalType getTemporal()
temporal
element
temporal
String getTemporalAsString()
temporal
element
temporal
Basic<T> removeTemporal()
temporal
attribute
Basic
Basic<T> enumerated(EnumType enumerated)
enumerated
element
enumerated
- the value for the element enumerated
Basic
Basic<T> enumerated(String enumerated)
enumerated
element
enumerated
- the value for the element enumerated
Basic
EnumType getEnumerated()
enumerated
element
enumerated
String getEnumeratedAsString()
enumerated
element
enumerated
Basic<T> removeEnumerated()
enumerated
attribute
Basic
Basic<T> name(String name)
name
attribute
name
- the value for the attribute name
Basic
String getName()
name
attribute
name
Basic<T> removeName()
name
attribute
Basic
Basic<T> fetch(FetchType fetch)
fetch
attribute
fetch
- the value for the attribute fetch
Basic
Basic<T> fetch(String fetch)
fetch
attribute
fetch
- the value for the attribute fetch
Basic
FetchType getFetch()
fetch
attribute
fetch
String getFetchAsString()
fetch
attribute
fetch
Basic<T> removeFetch()
fetch
attribute
Basic
Basic<T> optional(Boolean optional)
optional
attribute
optional
- the value for the attribute optional
Basic
Boolean isOptional()
optional
attribute
optional
Basic<T> removeOptional()
optional
attribute
Basic
Basic<T> access(AccessType access)
access
attribute
access
- the value for the attribute access
Basic
Basic<T> access(String access)
access
attribute
access
- the value for the attribute access
Basic
AccessType getAccess()
access
attribute
access
String getAccessAsString()
access
attribute
access
Basic<T> removeAccess()
access
attribute
Basic
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |