Package org.apache.ofbiz.entity.model
Class ModelInfo
java.lang.Object
org.apache.ofbiz.entity.model.ModelInfo
An object that models the
<entitymodel>
child elements that provide default values.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelInfo
createFromAttributes
(ModelInfo defaultInfo, Element element) Returns a newModelInfo
instance initialized to the values found inelement
attributes.static ModelInfo
createFromElements
(ModelInfo defaultInfo, Element element) Returns a newModelInfo
instance initialized to the values found inelement
child elements.Returns the author.Returns the copyright.Returns the default resource name.Returns the description.getTitle()
Returns the title.Returns the version.
-
Field Details
-
DEFAULT
-
-
Method Details
-
createFromAttributes
Returns a newModelInfo
instance initialized to the values found inelement
attributes.- Parameters:
defaultInfo
- AModelInfo
instance that will provide default values for missing attributes.element
-
-
createFromElements
Returns a newModelInfo
instance initialized to the values found inelement
child elements.- Parameters:
defaultInfo
- AModelInfo
instance that will provide default values for missing child elements.element
-
-
getAuthor
Returns the author. -
getCopyright
Returns the copyright. -
getDefaultResourceName
Returns the default resource name. -
getDescription
Returns the description. -
getTitle
Returns the title. -
getVersion
Returns the version.
-