IPAddressPropertyDefinition.java revision 3215
1008N/A * The contents of this file are subject to the terms of the 1008N/A * Common Development and Distribution License, Version 1.0 only 1008N/A * (the "License"). You may not use this file except in compliance 1008N/A * You can obtain a copy of the license at 1008N/A * See the License for the specific language governing permissions 1008N/A * and limitations under the License. 1008N/A * When distributing Covered Code, include this CDDL HEADER in each 1008N/A * file and include the License file at 1008N/A * add the following below this CDDL HEADER, with the fields enclosed 1008N/A * by brackets "[]" replaced with your own identifying information: 1008N/A * Portions Copyright [yyyy] [name of copyright owner] 3215N/A * Copyright 2008 Sun Microsystems, Inc. 1008N/A * IP address property definition. 1008N/A * An interface for incrementally constructing IP address property 1008N/A * Create a IP address property definition builder. 1140N/A * The managed object definition associated with this 1008N/A * @return Returns the new IP address property definition builder. 1008N/A // No additional validation required. 1008N/A // TODO: it would be nice to throw the cause. 1566N/A // We should return the host name if it is available, or the IP 1566N/A // Unforunately, there is no InetAddress method for doing this, so 1566N/A // we have to resort to hacking at the toString() encoding. 1566N/A // Host address is before the forward slash.