Package org.apache.ofbiz.ws.rs.model
Class ModelOperation
java.lang.Object
org.apache.ofbiz.ws.rs.model.ModelOperation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauth
(boolean auth) description
(String value) Gets the value of the consumes property.Gets the value of the description property.getPath()
Gets the value of the path property.Gets the value of the produces property.Gets the value of the service property.getVerb()
Gets the value of the verb property.boolean
isAuth()
void
setAuth
(boolean auth) void
setConsumes
(String value) Sets the value of the consumes property.void
setDescription
(String value) Sets the value of the description property.void
Sets the value of the path property.void
setProduces
(String value) Sets the value of the produces property.void
setService
(String value) Sets the value of the service property.void
Sets the value of the verb property.toString()
-
Constructor Details
-
ModelOperation
public ModelOperation()
-
-
Method Details
-
isAuth
public boolean isAuth()- Returns:
- the auth
-
setAuth
public void setAuth(boolean auth) - Parameters:
auth
- the auth to set
-
auth
- Parameters:
auth
-- Returns:
- ModelOperation
-
getService
Gets the value of the service property.- Returns:
- possible object is
String
-
setService
Sets the value of the service property.- Parameters:
value
- allowed object isString
-
service
- Parameters:
value
-- Returns:
- ModelOperation
-
getVerb
Gets the value of the verb property.- Returns:
- possible object is
String
-
setVerb
Sets the value of the verb property.- Parameters:
value
- allowed object isString
-
verb
- Parameters:
value
-- Returns:
- ModelOperation
-
getProduces
Gets the value of the produces property.- Returns:
- possible object is
String
-
setProduces
Sets the value of the produces property.- Parameters:
value
- allowed object isString
-
produces
- Parameters:
value
-- Returns:
- ModelOperation
-
getConsumes
Gets the value of the consumes property.- Returns:
- possible object is
String
-
setConsumes
Sets the value of the consumes property.- Parameters:
value
- allowed object isString
-
consumes
- Parameters:
value
-- Returns:
- ModelOperation
-
getPath
Gets the value of the path property.- Returns:
- possible object is
String
-
setPath
Sets the value of the path property.- Parameters:
value
- allowed object isString
-
path
- Parameters:
value
-- Returns:
- ModelOperation
-
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
-
description
- Parameters:
value
-- Returns:
- ModelOperation
-
toString
-