Class ModelResource

java.lang.Object
org.apache.ofbiz.ws.rs.model.ModelResource

public class ModelResource extends Object
  • 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

      public ModelResource auth(boolean auth)
      Parameters:
      auth -
      Returns:
    • setPublish

      protected void setPublish(boolean publish)
      Parameters:
      publish - the publish to set
    • getOperations

      public List<ModelOperation> getOperations()
      Returns:
      the operation
    • addOperation

      public ModelResource addOperation(ModelOperation operation)
      Parameters:
      operation -
      Returns:
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • name

      public ModelResource name(String name)
      Parameters:
      name -
      Returns:
    • path

      public ModelResource path(String path)
      Parameters:
      path -
      Returns:
    • getPath

      public String getPath()
      Returns:
      the path
    • setPath

      public void setPath(String path)
      Parameters:
      path - the path to set
    • getDisplayName

      public String getDisplayName()
      Returns:
      the displayName
    • displayName

      public ModelResource displayName(String displayName)
      Parameters:
      displayName -
      Returns:
    • setDisplayName

      public void setDisplayName(String displayName)
      Parameters:
      displayName - the displayName to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - the description to set
    • description

      public ModelResource description(String description)
      Parameters:
      description -
      Returns:
    • isPublish

      public boolean isPublish()
      Returns:
      the publish
    • publish

      public ModelResource publish(boolean publish)
      Parameters:
      publish -
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns: