public String[] getNames() { return getReferencedObject().getNames(); }
String[] names = identifiable.getNames(); if ( names != null && names.length > 0 ) { for ( String name : names ) {
String[] names = identifiable.getNames(); if ( names != null && names.length > 0 ) { for ( String name : names ) {
/** * Takes the references of the other object and stores them in this CRSIdentifiable Object. * * @param other * identifiable object. */ public CRSIdentifiable( CRSResource other ) { this( other.getCodes(), other.getNames(), other.getVersions(), other.getDescriptions(), other.getAreasOfUse() ); }
result = new Ellipsoid( semiMajor, units, inverseFlattening, id.getCodes(), id.getNames(), id.getVersions(), id.getDescriptions(), id.getAreasOfUse() ); } else if ( !Double.isNaN( eccentricity ) ) { result = new Ellipsoid( semiMajor, eccentricity, units, id.getCodes(), id.getNames(), id.getVersions(), id.getDescriptions(), id.getAreasOfUse() ); } else { result = new Ellipsoid( units, semiMajor, semiMinorAxis, id.getCodes(), id.getNames(), id.getVersions(), id.getDescriptions(), id.getAreasOfUse() );
System.arraycopy( codes, 0, resultCodes, 0, codes.length ); System.arraycopy( foundCodes, 0, resultCodes, foundCodes.length, foundCodes.length ); id = new CRSIdentifiable( resultCodes, id.getNames(), id.getVersions(), id.getDescriptions(), id.getAreasOfUse() ); result = new PrimeMeridian( Unit.RADIAN, 0, id );