Class CpoClassBean

java.lang.Object
org.synchronoss.cpo.core.meta.bean.CpoClassBean
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CpoArgument, CpoClass, CpoFunctionGroupBean

public class CpoClassBean extends Object implements Serializable
Plain-data holder for a name and description, the common base for the CPO metadata bean classes (CpoClass, CpoArgument, CpoFunctionGroup) that all identify themselves primarily by name.
Author:
dberry
See Also:
  • Constructor Details

    • CpoClassBean

      public CpoClassBean()
      Creates an empty instance.
  • Method Details

    • getName

      public String getName()
      Gets the name of this metadata element.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name of this metadata element.
      Parameters:
      name - the name
    • getDescription

      public String getDescription()
      Gets the human-readable description of this metadata element, as loaded from the meta XML.
      Returns:
      the description, or null if none was specified
    • setDescription

      public void setDescription(String description)
      Sets the human-readable description of this metadata element.
      Parameters:
      description - the description
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object