|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeCreator
An attribute creator allows setting attribute information, which includes the following pieces:
AttributeKey
associated with the metadata. Setting
the name here will override the default.
Method Summary | |
---|---|
AttributeCreator |
setName(QName name)
Sets the name of the attribute. |
AttributeCreator |
setRequired(boolean required)
Sets the requiredness of this attribute. |
AttributeCreator |
setVirtualValue(Metadata.VirtualValue virtualValue)
Sets the virtual value for the attribute. |
AttributeCreator |
setVisible(boolean visible)
Sets whether this attribute is visible. |
Method Detail |
---|
AttributeCreator setName(QName name)
AttributeKey
.
setName
in interface MetadataCreator
name
- the new name to use for the attribute.
AttributeCreator setRequired(boolean required)
setRequired
in interface MetadataCreator
required
- true to set the attribute to required, false to set it
to optional (the default).
AttributeCreator setVisible(boolean visible)
setVisible
in interface MetadataCreator
visible
- true to make the attribute visible (the default), false to
hide it from the output.
AttributeCreator setVirtualValue(Metadata.VirtualValue virtualValue)
setVirtualValue
in interface MetadataCreator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |