Class CpoArgument
java.lang.Object
org.synchronoss.cpo.core.meta.bean.CpoClassBean
org.synchronoss.cpo.core.meta.domain.CpoArgument
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JdbcCpoArgument
Represents a single bound argument of a
CpoFunction: a reference to the CpoAttribute whose value is supplied for one of the function's bind markers. Setting the
attribute also takes this argument's name from the attribute's Java name.- Author:
- dberry
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the attribute bound to this argument.voidsetAttribute(CpoAttribute attribute) Sets the attribute bound to this argument, and updates this argument's name to match the attribute's Java name.toString()Gets the full field-by-field string representation of this argument, as produced byCpoClassBean.toString().Methods inherited from class org.synchronoss.cpo.core.meta.bean.CpoClassBean
equals, getDescription, getName, hashCode, setDescription, setName
-
Constructor Details
-
CpoArgument
public CpoArgument()Creates an empty instance.
-
-
Method Details
-
getAttribute
Gets the attribute bound to this argument.- Returns:
- the bound attribute
-
setAttribute
Sets the attribute bound to this argument, and updates this argument's name to match the attribute's Java name.- Parameters:
attribute- the attribute to bind
-
toString
Returns this argument's
description.- Overrides:
toStringin classCpoClassBean
-
toStringFull
Gets the full field-by-field string representation of this argument, as produced byCpoClassBean.toString().- Returns:
- the full string representation
-