|
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 Embeddable<T>
This interface defines the contract for the embeddable
xsd type
Method Summary | |
---|---|
Embeddable<T> |
access(AccessType access)
Sets the access attribute |
Embeddable<T> |
access(String access)
Sets the access attribute |
Embeddable<T> |
clazz(String clazz)
Sets the class attribute |
Embeddable<T> |
description(String description)
Sets the description element |
AccessType |
getAccess()
Returns the access attribute |
String |
getAccessAsString()
Returns the access attribute |
String |
getClazz()
Returns the class attribute |
String |
getDescription()
Returns the description element |
EmbeddableAttributes<Embeddable<T>> |
getOrCreateAttributes()
If not already created, a new attributes element with the given value will be created. |
Boolean |
isMetadataComplete()
Returns the metadata-complete attribute |
Embeddable<T> |
metadataComplete(Boolean metadataComplete)
Sets the metadata-complete attribute |
Embeddable<T> |
removeAccess()
Removes the access attribute |
Embeddable<T> |
removeAttributes()
Removes the attributes element |
Embeddable<T> |
removeClazz()
Removes the class attribute |
Embeddable<T> |
removeDescription()
Removes the description element |
Embeddable<T> |
removeMetadataComplete()
Removes the metadata-complete attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
Embeddable<T> description(String description)
description
element
description
- the value for the element description
Embeddable
String getDescription()
description
element
description
Embeddable<T> removeDescription()
description
element
Embeddable
EmbeddableAttributes<Embeddable<T>> getOrCreateAttributes()
attributes
element with the given value will be created.
Otherwise, the existing attributes
element will be returned.
EmbeddableAttributes>
Embeddable<T> removeAttributes()
attributes
element
Embeddable
Embeddable<T> clazz(String clazz)
class
attribute
clazz
- the value for the attribute class
Embeddable
String getClazz()
class
attribute
class
Embeddable<T> removeClazz()
class
attribute
Embeddable
Embeddable<T> access(AccessType access)
access
attribute
access
- the value for the attribute access
Embeddable
Embeddable<T> access(String access)
access
attribute
access
- the value for the attribute access
Embeddable
AccessType getAccess()
access
attribute
access
String getAccessAsString()
access
attribute
access
Embeddable<T> removeAccess()
access
attribute
Embeddable
Embeddable<T> metadataComplete(Boolean metadataComplete)
metadata-complete
attribute
metadataComplete
- the value for the attribute metadata-complete
Embeddable
Boolean isMetadataComplete()
metadata-complete
attribute
metadata-complete
Embeddable<T> removeMetadataComplete()
metadata-complete
attribute
Embeddable
|
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 |