Package org.apache.ofbiz.ws.rs.model
Class ModelResource
java.lang.Object
org.apache.ofbiz.ws.rs.model.ModelResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddOperation
(ModelOperation operation) auth
(boolean auth) description
(String description) displayName
(String displayName) getName()
getPath()
boolean
isAuth()
boolean
publish
(boolean publish) void
setAuth
(boolean auth) void
setDescription
(String description) void
setDisplayName
(String displayName) void
void
protected void
setPublish
(boolean publish) toString()
-
Constructor Details
-
ModelResource
public ModelResource()
-
-
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:
-
setPublish
protected void setPublish(boolean publish) - Parameters:
publish
- the publish to set
-
getOperations
- Returns:
- the operation
-
addOperation
- Parameters:
operation
-- Returns:
-
getName
- Returns:
- the name
-
setName
- Parameters:
name
- the name to set
-
name
- Parameters:
name
-- Returns:
-
path
- Parameters:
path
-- Returns:
-
getPath
- Returns:
- the path
-
setPath
- Parameters:
path
- the path to set
-
getDisplayName
- Returns:
- the displayName
-
displayName
- Parameters:
displayName
-- Returns:
-
setDisplayName
- Parameters:
displayName
- the displayName to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description
- the description to set
-
description
- Parameters:
description
-- Returns:
-
isPublish
public boolean isPublish()- Returns:
- the publish
-
publish
- Parameters:
publish
-- Returns:
-
toString
-