public class DefaultMemberName extends DefaultLocalName implements MemberName
DefaultMemberName can be instantiated by any of the following methods:
DefaultNameFactory.createMemberName(NameSpace, CharSequence, TypeName)Names.NameSpace, CharSequence and
TypeName arguments given to the constructor are also immutable. Subclasses shall make sure that any
overridden methods remain safe to call from multiple threads and do not change any public MemberName
state.DefaultTypeName,
DefaultNameFactory,
DefaultRecordType,
Serialized FormDefined in the sis-utility module
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultMemberName(NameSpace scope,
CharSequence name,
TypeName attributeType)
Constructs a member name from the given character sequence and attribute type.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultMemberName |
castOrCopy(MemberName object)
Returns a SIS member name implementation with the values of the given arbitrary implementation.
|
boolean |
equals(Object object)
Compares this member name with the specified object for equality.
|
TypeName |
getAttributeType()
Returns the type of the data associated with the record member.
|
castOrCopy, compareTo, depth, getParsedNames, head, scope, tip, toInternationalString, toStringcastOrCopy, hashCode, push, toFullyQualifiedNameclone, finalize, getClass, notify, notifyAll, wait, wait, waitpush, scope, toFullyQualifiedName, toInternationalStringcompareToprotected DefaultMemberName(NameSpace scope, CharSequence name, TypeName attributeType)
scope - the scope of this name, or null for a global scope.name - the local name (never null).attributeType - the type of the data associated with the record member (can not be null).public static DefaultMemberName castOrCopy(MemberName object)
null, then this method returns null.DefaultMemberName,
then it is returned unchanged.DefaultMemberName instance is created
with the same values than the given name.object - the object to get as a SIS implementation, or null if none.null if the argument was null.public TypeName getAttributeType()
getAttributeType in interface MemberNamepublic boolean equals(Object object)
equals in class DefaultLocalNameobject - the object to compare with this name for equality.true if the given object is equal to this name.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.