Package org.apache.ofbiz.ws.rs.model
Class ModelApi
java.lang.Object
org.apache.ofbiz.ws.rs.model.ModelApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddResource
(ModelResource resource) Gets the value of the description property.Gets the value of the displayName property.getName()
Gets the value of the name property.boolean
void
setDescription
(String value) Sets the value of the description property.void
setDisplayName
(String value) Sets the value of the displayName property.void
Sets the value of the name property.void
setPublish
(boolean publish)
-
Constructor Details
-
ModelApi
public ModelApi()
-
-
Method Details
-
getResources
- Returns:
-
addResource
- Parameters:
resource
-- Returns:
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getDisplayName
Gets the value of the displayName property.- Returns:
- possible object is
String
-
setDisplayName
Sets the value of the displayName property.- Parameters:
value
- allowed object isString
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
isPublish
public boolean isPublish()- Returns:
- the publish
-
setPublish
public void setPublish(boolean publish) - Parameters:
publish
- the publish to set
-