Trying to implement the Builder pattern with inheritance
This is just a bit long, but don't worry, it's very understandable.
I'm applying the Builder pattern found in Effective Java (J. Bloch). The pattern is avaiable right here :
http://books.google.fr/books?id=ka2VUBqHiWkC&lpg=PA15&ots=yXGmIjr3M2&dq=nutritionfacts%20builder%20java&pg=PA14
My issue is due to the fact that I have to implement that pattern on an abstract class and its extensions. I have declared a Builder inside the base class, and the extensions specify their own extension of the base's Builder.
The abstract base class is roughly this :
public abstract class Effect extends Trigger implements Cloneable {
protected Ability parent_ability;
protected Targetable target;
protected EffectBinder binder;
protected Effect(){
protected Effect(EffectBuilder parBuilder){
parent_ability = parBuilder.parent_ability;
target = parBuilder.target;
binder = parBuilder.binder;
public static class EffectBuilder {
protected Ability parent_ability;
protected Targetable target;
protected EffectBinder binder;
protected EffectBuilder() {}
public EffectBuilder(Ability parParentAbility) {
parent_ability = parParentAbility;
public EffectBuilder target(Targetable parTarget)
{ target = parTarget; return this; }
public EffectBuilder binder(EffectBinder parBinder)
{ binder = parBinder ; return this; }
// etc.
}And the following is one of its implementation :
public class GainGoldEffect extends Effect {
private int gold_gain;
public GainGoldEffect(GainGoldEffectBuilder parBuilder) {
super(parBuilder);
gold_gain = parBuilder.gold_gain;
public class GainGoldEffectBuilder extends EffectBuilder {
private int gold_gain;
public GainGoldEffectBuilder(int parGoldGain, Ability parParentAbility) {
this.gold_gain = parGoldGain;
super.parent_ability = parParentAbility;
public GainGoldEffectBuilder goldGain(int parGoldGain)
{ gold_gain = parGoldGain; return this; }
public GainGoldEffect build() {
return new GainGoldEffect(this);
// etc.
}Effect requires 1 parameter to be correctly instantiated (parent_ability), and 2 others that are optional (target and binder). Implementing the Builder Pattern means that I won't have to rewrite specific construcors that cover all the combination of parameters of the Effect base class, plus their own parameter as an extension. I expect the gain to be quite huge, as there will be at least a hundred of Effects in this API.
But... in the case of these 2 classes, when I'm trying to create the a GoldGainEffect like this :
new GainGoldEffect.GainGoldEffectBuilder(1 , locAbility).goldGain(5);the compiler says "GainGoldEffect is not an enclosing class". Is there something wrong with the way I'm trying to extend the base Builder ?
I need your help to understand this and find a solution.
Thank you for reading.
The GainGoldEffectBuilder class must be static.
Otherwise a Builder would require a GainGoldEffect object to exist, which is backwards.
Similar Messages
-
Trying to implement the Observer pattern with a notify() method
OK, I'm not implementing the observer exactly rigidly but I'm doing something thereabouts inline with the pattern. I have an abstract class which provides some common functionality for the observers and is also used for type checking elsewhere. Each observer must inherit from this class. Now; the abstract class has one abstract method notify() as per the generic observer.
I get an error that notify() cannot be overridden as it's final. I understand what all that means but I'm curious where it's implemented that's actually affecting my own code? Is notify() a standard method in all objects in Java?
package zoopackage;
public abstract class ZooObserver
protected Cage cage;
public void setCage(Cage myCage)
this.cage = myCage;
abstract public void notify();
}And...
package zoopackage.observers;
import zoopackage.*;
public class VisualObserver extends ZooObserver
public void notify()
}Is notify() a standard method in all objects in Java?Yes, as are notifyAll() and wait(). You'll also notice in the API that there already is an Observer interface and an Observable object. That's probably sufficient to implement what you want to do.
Brian -
Trying to use the JSSE library with Jrocket 7.0
Hi All,
I HAC who is trying to use the JSSE library with Jrocket 7.0.
Sometimes the socket works and sometimes it does not. It throws the below
exception,
The exception stacktrace is given below:
java.net.SocketException: SSL implementation not available
at
javax.net.ssl.DefaultSSLSocketFactory.createSocket(Ljava.lang.String;I)Ljava
.net.Socket;(Unknown Source)
at
com.twister.transunion.TransUnionUtils.sendRequest(Ljava.lang.String;)Ljava.
lang.String;(Unknown Source)
at
com.twister.transunion.TransUnionUtils.parseRequest(Lcom.twister.transunion.
TransUnionRequest;)Z(Unknown Source)
at
com.twister.struts.signup.Signup5Action.button_apply_now(Lorg.apache.struts.
action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.htt
p.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.st
ruts.action.ActionForward;(Unknown Source)
at
COM.jrockit.reflect.NativeMethodInvoker.invoke0(ILjava.lang.Object;[Ljava.la
ng.Object;)Ljava.lang.Object;(Unknown Source)
at
COM.jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang
.Object;)Ljava.lang.Object;(Unknown Sou
the line of code causing the stack trace is:
Socket socket =
javax.net.ssl.SSLSocketFactory.getDefault().createSocket(HOST, PORT);
He has added the following line to his jre/lib/security/java.security file:
security.provider.3=com.sun.net.ssl.internal.ssl.Provider
and he has added the JSSE jar files to the jre/lib/ext directory.
The problem occurs when SSL is enabled in the config.xml file (e.g. <SSL
Enabled="true" ...>). It does NOT occur when SSL is disabled.
When SSL is disabled, the following code shows all three providers as
defined in the java.security file. If SSL is enabled then he only sees the
default 2 implementation and NOT the one he added above.
java.security.Provider[] a = java.security.Security.getProviders();
for (int i=0; i < a.length; i++)
System.out.println("name: " + a.getName());
System.out.println("ver: " + a[i].getVersion());
System.out.println("info: " + a[i].getInfo());
The problem is that client does not want to use WebLogic specific classes to
create an SSL socket. As well he do NOT wish to dynamically register the
SunJSSE provider. Since this setup works when SSL is disabled in WebLogic he
believes he has configured everything properly.
It appears to me that WebLogic is removing the JSSE as a security provider
if SSL is enabled.
Is it the expected behaviour? and Is it possible to statically register the
JSSE provider in the jre/lib/security/java.security file ?
Any pointers will be appreciated,
Thanks in advance,
RubeshHi Howard, just trawling through the Labview TE issues as I myself have started to work on a similar issue. I have now infact upgraded the Labview Test Executive to work in 7.1 ok (both development and Runtime).
Using XP I had no issues upgrading in the development environment - creating the run-time version was not as easy but manged to do so with help from the Application Builder. I have also tested the SQL function (as i log to Oracle) and a basic audio test using a DSA4551 - again both seem to be upgraded with no issues.
regards, paul. -
Error while trying to open the build templates
Hi All,
We installed and configured TFS 2010 demo machine (Single server deployment)
Environment details:
OS: Windows Server 2008 R2
Database: SQL Server 2008 R2
TFS: TFS 2010
SharePoint: SharePoint 2010
Client: Visual Studio 2013 ultimate
We are trying to open the build template of a team project using visual studio 2013, I end up with the following error.
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.VisualStudio.Activities.EditorPane.set_FileName(String value)
at Microsoft.VisualStudio.Activities.EditorPane.Microsoft.VisualStudio.Shell.Interop.IPersistFileFormat.Load(String fileName, UInt32 formatMode, Int32 readOnly)
Please suggest the solution to solve the above issue.
Thanks,
RajukumarHi Rajukumar,
Thanks for your reply.
I think the reason is TFS 2010 build process template’s activities created using v10.0
version assemblies in VS 2010, not all these v10.0 build activities support be opened using VS 2013(v12.0 assemblies).
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Implementing the Singleton pattern
Has anyone implemented the singleton pattern in Forte? A singleton is simply ensuring that there is one unique instance of a class. In other OO languages I would create a class method which would use a class variable to hold onto the unique instance. Since forte doesn't have either of these (class methods or variables), I'm not sure how to do it. I thought of using named objects, but it seems like a heavy implementation. Any ideas.
An SO with its shared=TRUE and anchored=TRUE?
Venkat J Kodumudi
Price Waterhouse LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: [email protected] [SMTP:[email protected]]
Sent: Monday, February 02, 1998 1:09 PM
To: Venkat Kodumudi
Subject: Implementing the Singleton pattern
To: [email protected] @ Internet
cc:
From: [email protected] @ Internet
Date: 02/02/98 12:36:02 PM
Subject: Implementing the Singleton pattern
Has anyone implemented the singleton pattern in Forte? A singleton is
simply
ensuring that there is one unique instance of a class. In other OO
languages I
would create a class method which would use a class variable to hold
onto the
unique instance. Since forte doesn't have either of these (class
methods or
variables), I'm not sure how to do it. I thought of using named
objects, but it
seems like a heavy implementation. Any ideas. -
Error while trying to invoice the delivery doc with future date
Hi Gurus,
I am trying to create the Invoice document with future date with reference to delivery document,but the system is not allowing to do and its throwing the error message billing date is greater than current date not authorized.How to resolve this issue.
Thanks and Regards,
hari Challa.Dear Hari
Curious to know why you are trying to maintain a future date in billing when you yourself very well know that it is WRONG. Logically, the invoice date should be either Actual GI Date from Delivery or the system date.
Coming to your question, in VTFL, for your item category if routine 11 is maintained for the field Data VBRK/VBRP, you cannot achieve what you want.
thanks
G. Lakshmipathi -
Serializing a class that implements the Singleton pattern
Hello,
I am relatively new to Java and especially to serialization so the answer to this question might be obvious, but I could not make it work event though I have read the documentation and the article "Using XML Encoder" that was linked from the documentation.
I have a class that implements the singleton pattern. It's definition is as follows:
public class JCOption implements Serializable {
private int x = 1;
private static JCOption option = new JCOption();
private JCOption() {}
public static JCOption getOption() { return option; }
public int getX() { return x; }
public void setX(int x) { this.x = x; }
public static void main(String args[]) throws IOException {
JCOption opt = JCOption.getOption();
opt.setX(10);
XMLEncoder encoder = new XMLEncoder(new BufferedOutputStream(new FileOutputStream("Test.xml")));
encoder.setPersistenceDelegate(opt.getClass(), new JCOptionPersistenceDelegate());
encoder.writeObject(opt);
encoder.close();
}Since this class does not fully comply to the JavaBeans conventions by not having a public no-argument constructor, I have create a class JCOptionPersistenceDelegate that extends the PersistenceDelegate. The implementation of the instantiate method is as follows:
protected Expression instantiate(Object oldInstance, Encoder out) {
Expression expression = new Expression(oldInstance, oldInstance.getClass(), "getOption", new Object[]{});
return expression;
}The problem is that the resulting XML file only contains the following lines:
<java version="1.5.0_06" class="java.beans.XMLDecoder">
<object class="JCOption" property="option"/>
</java> so there is no trace of the property x.
Thank you in advance for your answers.How about this:
import java.beans.DefaultPersistenceDelegate;
import java.beans.Encoder;
import java.beans.Expression;
import java.beans.Statement;
import java.beans.XMLEncoder;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
public class JCOption {
private int x = 1;
private static JCOption option = new JCOption();
private JCOption() {}
public static JCOption getOption() { return option; }
public int getX() { return x; }
public void setX(int x) { this.x = x; }
public static void main(String args[]) throws IOException {
JCOption opt = JCOption.getOption();
opt.setX(10);
ByteArrayOutputStream os = new ByteArrayOutputStream();
XMLEncoder encoder = new XMLEncoder( os );
encoder.setPersistenceDelegate( opt.getClass(), new JCOptionPersistenceDelegate() );
encoder.writeObject(opt);
encoder.close();
System.out.println( os.toString() );
class JCOptionPersistenceDelegate extends DefaultPersistenceDelegate {
protected Expression instantiate(Object oldInstance, Encoder out) {
return new Expression(
oldInstance,
oldInstance.getClass(),
"getOption",
new Object[]{} );
protected void initialize( Class<?> type, Object oldInstance, Object newInstance, Encoder out ) {
super.initialize( type, oldInstance, newInstance, out );
JCOption q = (JCOption)oldInstance;
out.writeStatement( new Statement( oldInstance, "setX", new Object[] { q.getX() } ) );
} Output:
<?xml version="1.0" encoding="UTF-8"?>
<java version="1.5.0_06" class="java.beans.XMLDecoder">
<object class="JCOption" property="option">
<void property="x">
<int>10</int>
</void>
</object>
</java> -
i have turned off my iphone 5s but i got a blue screen when i tried to turn it on back, and i tried to press the power button with the home button but it wont work
fadijaber wrote:
i have turned off my iphone 5s but i got a blue screen when i tried to turn it on back,
The Basic Troubleshooting Steps are:
Restart... Reset... Restore from Backup... Restore as New...
Restart / Reset > http://support.apple.com/kb/ht1430
Backing up, Updating and Restoring > http://support.apple.com/kb/HT1414
If you try all these Steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step... Be sure to make an appointment first... -
I am trying to sync the ipad calendar with my Google calendar. The events sync from my Google calendar to the iPad calendar but when I enter an event on my iPad caledar it does not sync to the Google calendar.
Did you ever get an answer to this? I'm having the same issue.
-
Implementing a Builder Pattern (Not Necessarily Gof)
What I am looking for is some examples (ref. Joshua Bloch's Builder) on a plain java object such that:
// has a min. set of required properties and I can
// add any number of optional properties and then
// call a single build method to return me an instance
// of type Message
class Message {
private int id;
private String title;
private String author;
// optional
private String summary;
private double txCost;
public Message(int id, String titile, String author) {
// normal this.id = id , etc...
public Message summary(String summary) {
public Message txCost(double txCost) {
public Message build() {
// this actually returns the new instance with min and opt params
// Message m = Message(1, "Title","dk").summary("summa").build();
ThanksI agree with dubwai that you wouldn't implement a build method in the class you have already created, that returns another instance of itself
I also don't think you should preface your request with "not necessarily GoF". I think J.B. was definitely suggesting a good application of the GoF builder pattern in order to make immutable objects elegant and relatively easier to deal with.
In the end, you are trying to satisfy at least 2 things. (I'm sure there are others)
1. Turn a mutable POJO into an immutable object.
2. Provide an elegant creation mechanism for initializing the object without having long winded, and type ambiguous construction.
Your example doesn't necessarily require the addition of a builder to make your Message immutable, but let me provide you the example anyway.
// has a min. set of required properties and I can
// add any number of optional properties and then
// call a single build method to return me an instance
// of type Message
public class Message {
// make these properties "final". This makes them immutable
private final int id;
private final String title;
private final String author;
// optional
private final String summary;
private final Double txCost; /*convert to immutable wrapper, allows simulation of
"optional", i.e. null means wasn't used in initialization */
/* cannot construct a message without the use of a builder */
private Message(Builder builder) {
this.id = builder.id;
this.title = builder.title;
this.author = builder.author;
this.summary = builder.summary;
this.txCost = builder.txCost;
// normal this.id = id , etc...
// getters for properties
// end getters
/* Note, the Builder is a static inner class, it is only relevant for creating instances of
Message.
public static class Builder{
// short lived mutables
private int id;
private String title;
private String author;
private String summary;
private Double txCost;
/* you cannot have a Message without these required fields, so we force them
in the constructor */
public Builder(int id, String title, String author){
this.id = id;
this.title = title;
this.author = author;
/* I prefer the setter names, but the Builder behavior of returning the this object */
public Builder setSummary(String summary){
this.summary = summary;
return this;
public Builder setTxCost(double txCost){
this.txCost = txCost; // note Java 1.5 autoboxing/unboxing
return this;
public Message build() {
return new Message(this);
} Now you can create four different permutations of Message
Message basic = new Message.Builder(1,"A MIDSUMMER NIGHT'S DREAM", "WILLIAM SHAKESPEAR").build();
Message summary = new Message.Builder(2, "SOLARIS","STANISLAW LEM").setSummary("Great Sci-Fi book, bad movie").build();
Message txCosted = new Message.Builder(3, "FIGHT CLUB","CHUCK PALINIUK").setTxCost(30,000,000.00).build();
Message all = new Message.Builder(4, "BUILDER","DANIEL SHAW").setSummary("Check out the builder eclipse plug-in at sourceforge").setTxCost(0.0).build(); //Shameless self promotion -
Serious Bug Powerbuilder 12.5.2 build 5609 with Inheritance
Hi ,
I'm using Powerbuilder 12.5.2. build 5609. I think it is the latest release. I have three windows in my app.
The Grandfather , the father and the child. Child window (w_child) is inherited from the father (w_father) which inherits from the grandfather (w_grandfather).
I have some events in my windows , clicked events with code etc.
I made a change in the grandfather , regenerated the father and the child and my code in the child window was messed up!. And when I say messed up I mean that the code in my clicked event was disappeared or moved in other cases to other events.
With Full build and incremental build didn't fix the bug.
Using export and import FIXED the issue.
BUT.....
Why is this happening ? Of course this is a Powerbuilder BUG but do I need to export and import my objects when I make a change to ancestors objects ?
FYI using the edit source option I can see the code that it's there.
Will this issue been fixed because this is a very serious BUG. Every time I want to make a change to ancestors should I need to export all objects and import them again ???
thank you
zkarHi Andreas ,
I don't know.
But I tried the below scenario and found a different bug.
Same hierarchy. Grandfather, Father and Child.
Steps to reproduce.
1. Go to Fathers screen and Add a button. Leave the name as it is. cb_1
2. Go to Grandfather and add a button(didn't have any buttons yet). The name will be cb_1.
If you try to open the Father's screen you will be prompted from Powebuilder with a messagebox which suggest to make the changes for you because there was a name conflict. OK fair enough.
But.
If you press OK and let powerbuilder handles this then this doesn't work.
Anyway. This is a completely different thing from the original post . But I have just founded out trying to reproduce it to a new application.
FYI. The application was at first in Powerbuilder 10 but we have Migrated succesfully to powerbuilder 12.5 and It was working fine until we ;ve changed the intermediate level of inheritance.
The solution to my problem is export and import the intermediate level so don't search anymore. You will loose time trying to reproduce it.
thank you -
Does the Builder pattern really need a Director?
A Builder knows how to construct the various parts of an aggregate, while a Director knows the order in which they should be constructed. Wikipedia illustrates this pattern with a PizzaBuilder example:
http://en.wikipedia.org/wiki/Builder_pattern
I find it difficult to understand why one would not move the constructPizza() method (including its implementation) of Waiter (the Director) to PizzaBuilder (the abstract Builder), bypassing Waiter altogether:
PizzaBuilder hawaiianPizzaBuilder = new HawaiianPizzaBuilder();
hawaiianPizzaBuilder.constructPizza();
Pizza pizza = hawaiianPizzaBuilder.getPizza();Why is it so important to separate the how from the order? To me it looks like having a separate Director class makes things just more complicated without having real benefits.Thank you for your reply. Are you suggesting that
real-world applications have several Directors that
differ in the order of construction? I just got
myself the GoF book and it speaks about just one
Director, which repeats the same construction
process, independent of the concrete builder passed
to it.If you look at the Consequences, list item 2 it states:
"..then different Directors can reuse it to build Product variants from the same set of parts. In the earlier RTF example, we could define a reader for a format other than RTF, say, an SGMLReader, and use the same TextConverters..."
Note that in the example the Reader is the Director and the TextConverter is the Builder.
The point of this pattern is to separate the code that knows what to do and the code that knows how to do it so that they can be combined indpendently.
Suppose you were writing a tool that could take XML or database rows and create a Swing GUI. Let's say you are also asked to take that XML and those database rows and create a web page.
If you combine the code that reads the input with the code that reads the output, you end up writing the xml reader twice, the database reader twice, the swing builder twice, and the web page builder twice. Then consider what happens if you need a third input format or more output formats.
I was thinking of using this pattern to create a
custom JTree in subsequent steps: 1) create the nodes
from a database, 2) create the tree model, 3) create
the tree. Right now everything happens in my JTree
constructor, which doesn't feel right since it's just
a GUI component. Would that be appropriate? I only
have one concrete builder now, so it seems a bit too
much.I would remove any knowledge of the database from your gui component. This doesn't require more code and it won't make things more complicated. I think you'll find that once you have done it, it will make things a lot easier to understand and work on. The idea that every Object should have a single responsibility is poorly defined but is, in my opinion, a very good way to think about your designs. -
How to implement the schema validation with XSD in adapter module
Dear All,
I am trying to develop a EJB as the file adapter mudule.
Please guide me how to implement the schema validation of the source message with XSD.
Or provide me the relative resources about this task.
Thanks & Regards,
Red
Edited by: Grace Chien on Nov 19, 2008 8:23 AMHi Grace,
You can do the xml scema validation in PI7.1 version directly.
To develop the adapter module for xml schema validation
Validating messages in XI using XML Schema
Schema Validation of Incoming Message
Regards
Goli Sridhar -
Problem with building EJB with inheritance
I've created a EJB project in my workshop 8.1.4 application.
Since all my tables contains a common subset of columns, I'd like to create a superclass for all CMP entity beans which contains the handful of CMP fields and business methods pertaining to them.
I tried to do it in Workshop by creating a new superclass (BaseEB.java) which extends GenericEntityBean class.
When building, the script tries to run ejbgen on BaseEB.java, which obviously fails because BaseEB does not contain all the required @ejbgen tags, as it is not meant to be used by itself.
I think the solution is a matter of making the build script bypass BaseEB.java, but how can that be done?.This is my base EJB. There are some @ejbgen tags defined, but it does not have all required ejbgen tags, especially in the class javadoc. The classes that extends from this are expected to define them.
package occ;
import java.util.*;
import weblogic.ejb.GenericEntityBean;
public abstract class BaseEB extends GenericEntityBean
* @ejbgen:local-method
public void touch(String username){
java.util.Date currDate = new Date();
setUpdateDateTime(currDate);
setUpdateUsername(username);
setUpdateTimeID(new Long(getUpdateTimeID().longValue() + 1));
* @ejbgen:local-method
public void setCreateBy(String username){
java.util.Date curr = new Date();
setCreateUsername(username);
setCreateDateTime(curr);
setUpdateUsername(username);
setUpdateDateTime(curr);
setUpdateTimeID(new Long(1));
* @ejbgen:cmp-field column = "UPDATEDATETIME"
* @ejbgen:local-method
public abstract void setUpdateDateTime(Date val);
* @ejbgen:local-method
public abstract Date getUpdateDateTime();
* @ejbgen:cmp-field column = "UPDATEUSERNAME"
* @ejbgen:local-method
public abstract void setUpdateUsername(String val);
* @ejbgen:local-method
public abstract String getUpdateUsername();
* @ejbgen:cmp-field column = "CREATEDATETIME"
* @ejbgen:local-method
public abstract void setCreateDateTime(Date val);
* @ejbgen:local-method
public abstract Date getCreateDateTime();
* @ejbgen:cmp-field column = "CREATEUSERNAME"
* @ejbgen:local-method
public abstract void setCreateUsername(String val);
* @ejbgen:local-method
public abstract String getCreateUsername();
* @ejbgen:cmp-field column = "UPDATETIMEID"
* @ejbgen:local-method
public abstract void setUpdateTimeID(Long val);
* @ejbgen:local-method
public abstract Long getUpdateTimeID();
}Errors while building in workshop.
EJBGen 2.16
Error: Couldn't determine the type of the EJB 'occ.BaseEB'. Please make sure that:
- It is an Enterprise Java Bean
- Its superclass is in your classpath or that its type is specified
with an @ejbgen:entity|session|message-driven attribute.
1 error.
ERROR: Java returned: 1
BUILD FAILED
ERROR: Java returned: 1 -
I have different account ID's with my iphone and computer.
I would like to standardize both to just the one.
One of the ID's doesn't work, when I tried to list this second email with the preferred one a message telling me that this email is already in use pops up.. yes it is, with me??
Is there an easy to fix this please, FabfitzIf the email address you want to use is being used as the primary email address on a different ID you have to manage that ID and change it to a different primary email address. This explains how: Change your Apple ID - Apple Support.
If it is being used as an alternate or rescue address on a different ID, you manage the ID and either remove it or change it to a different email address. This explains how: Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support.
Maybe you are looking for
-
Read contents of Word docs?
Hello all: I have a directory of word documents that I need to loop through and read the contents and save various parts of the textual content into a database. I've used cfdirectory to loop through the directory and then cffile action="read" to read
-
Viewing Photoshop Elements 9 Albums - Stacked Photos
Elements 9 will allow you to stack photos, this is useful if you have edited an original and want to keep both versions. When I have photos included in an album that are part of a stack, Apple TV (new version) displays all images from that stack, not
-
My itunes is not wirelessley recognizing any of my iphones or ipad, only when plugged in
Neither my husbands phone, which is my old 5C or my new iphone 6 nor my ipad is being picked up by itunesany longer. It will recognize it when I plug the phone(s) into the MAC but not wirelessly Help!
-
Imac came back from repair with a scratch on the front !!!!!!
Hi all, Hopefully someone can help me ? I got my imac 27" mid 2010 back from the genius bar in solihull uk last week and ive noticed quite a deep scratch on the front aluminum part does any one have any advice on what to do now as its been over a wee
-
Compre el album "<album title goes here>" de Deadmau5 y desde este fin de semana no se puede ver el video de "Professional Griefers" ¿Alguien tiene el mismo problema?