Person

Overview

Person is a class in Aspose.Words FOSS for Java.

Represents individual (a person) bibliography source contributor.

Edition status of its 12 listed members (a property and its accessor methods are listed separately, overloads once): 12 not yet exercised by a verified example.

This class declares 9 methods for Person objects in Java programs. Available methods include: Person, equals, getFirst, getLast, getMiddle, hashCode, setFirst, setLast, setMiddle. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: first, last, middle.

Properties

NameTypeAccessDescription
lastStringRead/WriteGets or sets the last name of a person.
firstStringRead/WriteGets or sets the first name of a person.
middleStringRead/WriteGets or sets the middle name of a person.

Methods

SignatureDescription
Person(last: String, first: String, middle: String)Initialize a new instance of the Person class.
getLast() → StringGets or sets the last name of a person.
setLast(value: String)Sets the last value.
getFirst() → StringGets or sets the first name of a person.
setFirst(value: String)Sets the first value.
getMiddle() → StringGets or sets the middle name of a person.
setMiddle(value: String)Sets the middle value.
equals(obj: Object) → booleanCalls equals(obj) on this Person instance.
hashCode() → intCalls hashCode on this Person instance.

See Also