public class

Group

extends Object
java.lang.Object
   ↳ com.google.api.gbase.client.Group

Class Overview

Group type holds multiple sub-attributes. Sub-attributes can be any type except GROUP and its derived types (e.g. TAX and SHIPPING).

Summary

Fields
private Multimap<String, GoogleBaseAttribute> subAttributes
Public Constructors
Group(Collection<GoogleBaseAttribute> subAttributes)
Public Methods
Multimap<String, GoogleBaseAttribute> getAllSubAttributes()
Gets all sub-attributes of the group.
GoogleBaseAttribute getSubAttribute(String name)
Gets one sub-attribute with the name name, if there are any.
Collection<? extends GoogleBaseAttribute> getSubAttributes(String name)
Gets all sub-attributes corresponding to the name.
int subAttributesSize()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private Multimap<String, GoogleBaseAttribute> subAttributes

Public Constructors

public Group (Collection<GoogleBaseAttribute> subAttributes)

Parameters
subAttributes

Public Methods

public Multimap<String, GoogleBaseAttribute> getAllSubAttributes ()

Gets all sub-attributes of the group.

public GoogleBaseAttribute getSubAttribute (String name)

Gets one sub-attribute with the name name, if there are any.

Parameters
name
Returns
  • one of the sub-attributes with the specified name.

public Collection<? extends GoogleBaseAttribute> getSubAttributes (String name)

Gets all sub-attributes corresponding to the name.

Parameters
name Name
Returns
  • A collection of GoogleBaseAttribute corresponds to the name

public int subAttributesSize ()

public String toString ()