Package com.xero.models.file
Class Association
- java.lang.Object
-
- com.xero.models.file.Association
-
public class Association extends Object
Association
-
-
Constructor Summary
Constructors Constructor Description Association()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)AssociationfileId(UUID fileId)The unique identifier of the fileUUIDgetFileId()The unique identifier of the fileObjectGroupgetObjectGroup()Get objectGroupUUIDgetObjectId()The identifier of the object that the file is being associated with (e.g.ObjectTypegetObjectType()Get objectTypeinthashCode()AssociationobjectGroup(ObjectGroup objectGroup)objectGroupAssociationobjectId(UUID objectId)The identifier of the object that the file is being associated with (e.g.AssociationobjectType(ObjectType objectType)objectTypevoidsetFileId(UUID fileId)The unique identifier of the filevoidsetObjectGroup(ObjectGroup objectGroup)objectGroupvoidsetObjectId(UUID objectId)The identifier of the object that the file is being associated with (e.g.voidsetObjectType(ObjectType objectType)objectTypeStringtoString()
-
-
-
Method Detail
-
fileId
public Association fileId(UUID fileId)
The unique identifier of the file- Parameters:
fileId- UUID- Returns:
- Association
-
getFileId
public UUID getFileId()
The unique identifier of the file- Returns:
- fileId
-
setFileId
public void setFileId(UUID fileId)
The unique identifier of the file- Parameters:
fileId- UUID
-
objectId
public Association objectId(UUID objectId)
The identifier of the object that the file is being associated with (e.g. InvoiceID, BankTransactionID, ContactID)- Parameters:
objectId- UUID- Returns:
- Association
-
getObjectId
public UUID getObjectId()
The identifier of the object that the file is being associated with (e.g. InvoiceID, BankTransactionID, ContactID)- Returns:
- objectId
-
setObjectId
public void setObjectId(UUID objectId)
The identifier of the object that the file is being associated with (e.g. InvoiceID, BankTransactionID, ContactID)- Parameters:
objectId- UUID
-
objectGroup
public Association objectGroup(ObjectGroup objectGroup)
objectGroup- Parameters:
objectGroup- ObjectGroup- Returns:
- Association
-
getObjectGroup
public ObjectGroup getObjectGroup()
Get objectGroup- Returns:
- objectGroup
-
setObjectGroup
public void setObjectGroup(ObjectGroup objectGroup)
objectGroup- Parameters:
objectGroup- ObjectGroup
-
objectType
public Association objectType(ObjectType objectType)
objectType- Parameters:
objectType- ObjectType- Returns:
- Association
-
getObjectType
public ObjectType getObjectType()
Get objectType- Returns:
- objectType
-
setObjectType
public void setObjectType(ObjectType objectType)
objectType- Parameters:
objectType- ObjectType
-
-